diff --git a/build/pkg-scripts/postinstall b/build/pkg-scripts/postinstall old mode 100644 new mode 100755 index 5b145c9..7d4bcdf --- a/build/pkg-scripts/postinstall +++ b/build/pkg-scripts/postinstall @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e # 设置日志文件 diff --git a/build/pkg-scripts/preinstall b/build/pkg-scripts/preinstall old mode 100644 new mode 100755 index e9c9867..66e0d30 --- a/build/pkg-scripts/preinstall +++ b/build/pkg-scripts/preinstall @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e # 检查 root 权限 diff --git a/electron-builder.yml b/electron-builder.yml index a123848..bb1b133 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -51,6 +51,7 @@ mac: pkg: allowAnywhere: false allowCurrentUserHome: false + isRelocatable: false background: alignment: bottomleft file: build/background.png