File tree 6 files changed +42
-12
lines changed
6 files changed +42
-12
lines changed Original file line number Diff line number Diff line change @@ -94,12 +94,12 @@ jobs:
94
94
ELECTRON_CACHE : ${{ github.workspace }}/.cache/electron
95
95
ELECTRON_BUILDER_CACHE : ${{ github.workspace }}/.cache/electron-builder
96
96
GH_TOKEN : ${{ secrets.GH_TOKEN }}
97
- run : pnpm release --x64
97
+ run : pnpm release:electron --x64
98
98
- name : Release linux arm64 # to prevent unnecessary build locally
99
99
if : matrix.os == 'ubuntu-latest'
100
100
env :
101
101
ELECTRON_CACHE : ${{ github.workspace }}/.cache/electron
102
102
ELECTRON_BUILDER_CACHE : ${{ github.workspace }}/.cache/electron-builder
103
103
GH_TOKEN : ${{ secrets.GH_TOKEN }}
104
- run : pnpm release --arm64
104
+ run : pnpm release:electron --arm64
105
105
Original file line number Diff line number Diff line change 1
- node-linker = hoisted
1
+ # node-linker=hoisted
2
+ # Do not remove, commenting out temporarily until electron-builder fixes build issue
3
+
4
+ public-hoist-pattern[] = *eslint*
5
+ # Exclusively hoist eslint to avoid errors
Original file line number Diff line number Diff line change 28
28
" rpm"
29
29
],
30
30
"desktop" : {
31
- "Actions" : " about;" ,
32
- "Categories" : " AudioVideo" ,
33
- "Comment" : " Advanced multi-source music streaming + discovery client" ,
34
- "MimeType" : " x-scheme-handler/muffon;" ,
35
- "\n\n [Desktop Action about]\n Name=About\n Exec" : " /opt/muffon/muffon --open-about-window\n\n "
31
+ "entry" : {
32
+ "Actions" : " about;" ,
33
+ "Categories" : " AudioVideo" ,
34
+ "Comment" : " Advanced multi-source music streaming + discovery client" ,
35
+ "MimeType" : " x-scheme-handler/muffon;"
36
+ },
37
+ "desktopActions" : {
38
+ "about" : {
39
+ "Name" : " About" ,
40
+ "Exec" : " /opt/muffon/muffon --open-about-window"
41
+ }
42
+ }
36
43
}
37
44
},
38
45
"artifactName" : " ${productName}-${version}-${os}-${arch}.${ext}" ,
Original file line number Diff line number Diff line change 1
- import js from '@eslint/js'
1
+ import pluginJs from '@eslint/js'
2
2
import pluginVue from 'eslint-plugin-vue'
3
3
import {
4
4
FlatCompat
@@ -7,8 +7,10 @@ import {
7
7
fixupConfigRules
8
8
} from '@eslint/compat'
9
9
10
+ // adding types for better IntelliSense in supported IDEs
11
+ /** @type {import('eslint').Linter.Config[] } */
10
12
export default [
11
- js . configs . recommended ,
13
+ pluginJs . configs . recommended ,
12
14
...pluginVue . configs [
13
15
'flat/recommended'
14
16
] ,
Original file line number Diff line number Diff line change 19
19
"build" : " vite build" ,
20
20
"build:electron" : " electron-builder --dir" ,
21
21
"build:all" : " pnpm build && pnpm build:electron" ,
22
- "package:electron" : " electron-builder" ,
22
+ "package:electron" : " cross-env USE_HARD_LINKS=false electron-builder" ,
23
23
"package:all" : " pnpm build && pnpm package:electron" ,
24
- "release:electron" : " electron-builder --publish always" ,
24
+ "release:electron" : " cross-env USE_HARD_LINKS=false electron-builder --publish always" ,
25
25
"release" : " pnpm build && pnpm release:electron" ,
26
26
"preinstall" : " npx only-allow pnpm" ,
27
27
"postinstall" : " electron-builder install-app-deps" ,
43
43
},
44
44
"devDependencies" : {
45
45
"@eslint/compat" : " ^1.2.6" ,
46
+ "@eslint/js" : " ^9.20.0" ,
46
47
"@rollup/plugin-inject" : " ^5.0.5" ,
47
48
"@vitejs/plugin-vue" : " ^5.2.1" ,
48
49
"axios" : " ^1.7.9" ,
49
50
"change-case" : " ^5.4.4" ,
51
+ "cross-env" : " ^7.0.3" ,
50
52
"crypto-js" : " ^4.2.0" ,
51
53
"deepmerge" : " ^4.3.1" ,
52
54
"electron" : " ^34.2.0" ,
You can’t perform that action at this time.
0 commit comments