Skip to content

Commit 2def9fb

Browse files
committed
update build workflow
1 parent 323d9af commit 2def9fb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-desktop.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ jobs:
4545
- name: Install dependencies
4646
run: npm ci
4747

48-
- name: Build main application
49-
run: npm run build
50-
5148
- name: Fix app-builder permissions (Linux)
5249
if: runner.os == 'Linux'
5350
run: |
54-
chmod +x node_modules/app-builder-bin/linux/x64/app-builder
55-
chmod +x node_modules/app-builder-bin/linux/arm64/app-builder
56-
continue-on-error: true
51+
find node_modules/app-builder-bin -type f -name 'app-builder' -exec chmod +x {} \;
52+
ls -la node_modules/app-builder-bin/linux/x64/
53+
ls -la node_modules/app-builder-bin/linux/arm64/
54+
55+
- name: Build main application
56+
run: npm run build
5757

5858
- name: Install icon builder (Ubuntu/macOS)
5959
if: runner.os != 'Windows'
@@ -66,9 +66,9 @@ jobs:
6666

6767
- name: Generate icons
6868
run: |
69-
mkdir -p electron/build
69+
mkdir -p electron/build/icons
7070
cd electron/build
71-
electron-icon-builder --input=../../LiaScript/resources/icon.png --output=.
71+
electron-icon-builder --flatten --input=../../LiaScript/resources/icon.png --output=.
7272
shell: bash
7373

7474
- name: Build Electron app (Linux)

0 commit comments

Comments
 (0)