Skip to content

Commit 1091674

Browse files
authored
Update thunderbird-builder.sh
1 parent 93ba16a commit 1091674

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

thunderbird-builder.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ Categories=Network;Email;
8080
MimeType=message/rfc822;x-scheme-handler/mailto;application/x-xpinstall;
8181
StartupNotify=true"
8282

83-
POLICIES='{
84-
"policies": {
85-
"DisableAppUpdate": true
86-
}
87-
}'
88-
8983
_create_thunderbird_appimage() {
9084
# Detect the channel
9185
if [ "$CHANNEL" != stable ]; then
@@ -100,8 +94,7 @@ _create_thunderbird_appimage() {
10094
wget "$DOWNLOAD_URL" --trust-server-names || exit 1
10195
fi
10296
# Disable automatic updates
103-
mkdir -p "$APP".AppDir/distribution
104-
echo "$POLICIES" > "$APP".AppDir/distribution/policies.json
97+
touch "$APP".AppDir/is_packaged_app
10598
# Extract the archive
10699
[ -e ./*tar.* ] && tar fx ./*tar.* && mv ./thunderbird/* "$APP".AppDir/ && rm -f ./*tar.* || exit 1
107100
# Enter the AppDir

0 commit comments

Comments
 (0)