Skip to content

Commit

Permalink
feat: add message to note what directories shouldn't be used
Browse files Browse the repository at this point in the history
  • Loading branch information
MattLish committed Dec 7, 2021
1 parent 767a5a1 commit c7cccfc
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/components/TheStartupChecks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
:hide-open="true"
:label="`To get started, select your ${modpack.name} installation directory:`"
/>
<span class="c-startup__directory-note">
Note: you should not install modpacks to any of
<BaseLink
href="https://github.com/Wildlander-mod/Launcher/wiki/Directories-you-should-avoid-installing-a-modpack-in"
:underline="true"
>
these directories</BaseLink
>.
</span>
</AppModal>
</div>
</template>
Expand All @@ -24,16 +33,18 @@ import { Options, Vue } from "vue-class-component";
import AppModal from "@/components/AppModal.vue";
import ModDirectory from "@/components/ModDirectory.vue";
import AutoUpdate from "@/components/AutoUpdate.vue";
import BaseImage from "@/components/BaseImage.vue";
import BaseLink from "@/components/BaseLink.vue";
import {
Modpack,
modpack,
USER_PREFERENCE_KEYS,
userPreferences,
} from "@/main/config";
import BaseImage from "@/components/BaseImage.vue";
@Options({
components: {
BaseLink,
BaseImage,
AppModal,
ModDirectory,
Expand Down Expand Up @@ -86,4 +97,10 @@ export default class TheStartupChecks extends Vue {
.c-startup__logo {
margin-bottom: $size-spacing--x-large;
}
.c-startup__directory-note {
font-style: italic;
font-size: $font-size;
margin-top: $size-spacing;
}
</style>

0 comments on commit c7cccfc

Please sign in to comment.