Skip to content

Commit 0d3d0ff

Browse files
committed
adding /launcher path
1 parent ac5709f commit 0d3d0ff

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/public/storage
44
/public/modpacks
55
/public/modpacks-data
6+
/public/launcher
67
/public/js
78
/public/css
89
/public/mix-manifest.json

config/filesystems.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@
7777
'root' => storage_path('bridge'),
7878
'visibility' => 'private',
7979
],
80+
81+
'launcher' => [
82+
'driver' => 'local',
83+
'root' => storage_path('launcher'),
84+
'url' => env('APP_URL').'/launcher',
85+
'visibility' => 'public',
86+
],
8087
],
8188

8289
/*
@@ -93,6 +100,7 @@
93100
'links' => [
94101
public_path('storage') => storage_path('app/public'),
95102
public_path('modpacks-data') => storage_path('app/modpacks'),
103+
public_path('launcher') => storage_path('launcher'),
96104
],
97105

98106
];

resources/js/Pages/Settings/Components/UpdateSettingsForm.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<!-- Name -->
1414
<div class="col-span-6 sm:col-span-4">
1515
<div class="inline-flex items-center text-zinc-700 dark:text-zinc-300">
16-
<spinner v-show="checkingVersion" class="h-7 w-7 mr-4 text-indigo-500"/>
16+
<spinner v-show="checkingVersion || isUpdating" class="h-7 w-7 mr-4 text-indigo-500"/>
1717
<check-mark-solid v-show="isUpToDate" class="h-7 w-7 mr-4 text-indigo-500"/>
1818
<info-circle-solid v-show="isUpdateAvailable" class="h-7 w-7 mr-4 text-green-500"/>
1919
<div class="flex flex-col items-start">
@@ -25,7 +25,7 @@
2525
</div>
2626
</div>
2727
</div>
28-
<div class="w-full">
28+
<div v-show="isUpdateAvailable" class="w-full">
2929
<jet-button class="mt-6 ml-11 inline-flex items-center">
3030
<cloud-download class="mr-2"/> UPDATE
3131
</jet-button>
@@ -84,6 +84,8 @@ export default class UpdateSettingsForm extends Mixins(Route) {
8484
8585
isUpdateAvailable: boolean = false
8686
87+
isUpdating: boolean = false
88+
8789
mounted() {
8890
this.checkForUpdate()
8991
}

storage/launcher/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)