File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed
resources/js/Pages/Settings/Components Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 3
3
/public /storage
4
4
/public /modpacks
5
5
/public /modpacks-data
6
+ /public /launcher
6
7
/public /js
7
8
/public /css
8
9
/public /mix-manifest.json
Original file line number Diff line number Diff line change 77
77
'root ' => storage_path ('bridge ' ),
78
78
'visibility ' => 'private ' ,
79
79
],
80
+
81
+ 'launcher ' => [
82
+ 'driver ' => 'local ' ,
83
+ 'root ' => storage_path ('launcher ' ),
84
+ 'url ' => env ('APP_URL ' ).'/launcher ' ,
85
+ 'visibility ' => 'public ' ,
86
+ ],
80
87
],
81
88
82
89
/*
93
100
'links ' => [
94
101
public_path ('storage ' ) => storage_path ('app/public ' ),
95
102
public_path ('modpacks-data ' ) => storage_path ('app/modpacks ' ),
103
+ public_path ('launcher ' ) => storage_path ('launcher ' ),
96
104
],
97
105
98
106
];
Original file line number Diff line number Diff line change 13
13
<!-- Name -->
14
14
<div class =" col-span-6 sm:col-span-4" >
15
15
<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" />
17
17
<check-mark-solid v-show =" isUpToDate" class =" h-7 w-7 mr-4 text-indigo-500" />
18
18
<info-circle-solid v-show =" isUpdateAvailable" class =" h-7 w-7 mr-4 text-green-500" />
19
19
<div class =" flex flex-col items-start" >
25
25
</div >
26
26
</div >
27
27
</div >
28
- <div class =" w-full" >
28
+ <div v-show = " isUpdateAvailable " class =" w-full" >
29
29
<jet-button class =" mt-6 ml-11 inline-flex items-center" >
30
30
<cloud-download class =" mr-2" /> UPDATE
31
31
</jet-button >
@@ -84,6 +84,8 @@ export default class UpdateSettingsForm extends Mixins(Route) {
84
84
85
85
isUpdateAvailable: boolean = false
86
86
87
+ isUpdating: boolean = false
88
+
87
89
mounted() {
88
90
this .checkForUpdate ()
89
91
}
You can’t perform that action at this time.
0 commit comments