File tree 4 files changed +10
-5
lines changed
4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 33
33
- name : Set up Node.js
34
34
uses : actions/setup-node@v3
35
35
with :
36
- node-version : ' 18 .x'
36
+ node-version : ' 19 .x'
37
37
38
38
- name : Set up dependencies
39
39
run : yarn --ignore-scripts
50
50
echo VITE_APP_DISCORD_CLIENT_ID=${{ secrets.DISCORD_CLIENT_ID }} >> .env
51
51
cat .env
52
52
53
+ - name : Prebuild Electron
54
+ run : node ${{ github.workspace }}/node_modules/vite-plugin-electron-renderer/install.js
55
+
53
56
- name : Release
54
57
env :
55
58
ELECTRON_CACHE : ${{ github.workspace }}/.cache/electron
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ import dayjs from 'dayjs'
2
2
3
3
export function currentTime ( ) {
4
4
return dayjs . utc ( ) . format ( )
5
- }
5
+ }
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " muffon" ,
3
- "version" : " 1.4 .0" ,
3
+ "version" : " 1.5 .0" ,
4
4
"description" : " Music streaming browser" ,
5
5
"homepage" : " https://github.com/staniel359/muffon" ,
6
6
"bugs" : {
Original file line number Diff line number Diff line change 1
1
import {
2
- defineConfig
2
+ defineConfig ,
3
+ splitVendorChunkPlugin
3
4
} from 'vite'
4
5
import vue from '@vitejs/plugin-vue'
5
6
import inject from '@rollup/plugin-inject'
@@ -58,7 +59,8 @@ export default defineConfig(
58
59
)
59
60
}
60
61
}
61
- )
62
+ ) ,
63
+ splitVendorChunkPlugin ( )
62
64
] ,
63
65
resolve : {
64
66
alias : {
You can’t perform that action at this time.
0 commit comments