File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
data/scripts/Linux-AppImage Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 4
4
# #
5
5
# # @param $1 (optional) zsync URL - location used for AppImage updater
6
6
# # @env $appimage_key (optional) signing key
7
+ # # (new method, see https://github.com/probonopd/go-appimage/issues/318)
8
+ # # \n
9
+ # # Contains base64-encoded .tar.gz of pubkey.asc+privkey.asc.enc files
10
+ # # containing exported GPG public and private (encrypted) key.
11
+ # # \n
12
+ # # Private key is encrypted by OpenSSL (see appimagetool.go source):
13
+ # # `openssl aes-256-cbc -pass pass:dummy -in privkey.asc -out privkey.asc.enc -a -md sha256`
7
14
# # @returns name of created AppImage
8
15
9
16
APPDIR=UltraGrid.AppDir
158
165
159
166
GIT_ROOT=$( git rev-parse --show-toplevel || true)
160
167
if [ -n " ${appimage_key-} " ] && [ -n " ${GIT_ROOT-} " ]; then
161
- echo " $appimage_key " >> " $GIT_ROOT /pubkey.asc"
168
+ echo " $appimage_key " | base64 -d | tar -C " $GIT_ROOT " -xzaf -
169
+ export super_secret_password=dummy
162
170
fi
163
171
164
172
mkappimage=$( command -v ./mkappimage || command -v mkappimage-x86_64.AppImage || command -v mkappimage || true)
You can’t perform that action at this time.
0 commit comments