Merge pull request #227 from PreMiD/master

🛠 More testing
This commit is contained in:
Florian Metz
2019-10-05 14:17:42 +02:00
committed by GitHub
2 changed files with 13 additions and 1 deletions

12
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: DePloY
on:
push:
paths:
- "src/**/*"
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Prepare build
- uses: actions/setup-node@master
run: npm run init

2
pkg.ts
View File

@@ -87,7 +87,7 @@ import * as ora from "ora";
let icon: string;
if (response.os == "darwin") icon = "./installer_assets/appIcon.icns";
if (response.os == "darwin" || response.os === "current" && platform() === "darwin") icon = "./installer_assets/appIcon.icns";
if (["ia32", "x64"].includes(response.arch) || platform() === "win32")
icon = "./installer_assets/appIcon.ico";