File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -356,12 +356,6 @@ Name[zh_CN]=新建隐私浏览窗口
356356Name[zh_TW]=新增隱私視窗
357357Exec=firefox --private-window %u"
358358
359- POLICIES=' {
360- "policies": {
361- "DisableAppUpdate": true
362- }
363- }'
364-
365359_create_firefox_appimage () {
366360 # Detect the channel
367361 if [ " $CHANNEL " != stable ]; then
@@ -376,8 +370,7 @@ _create_firefox_appimage() {
376370 wget " $DOWNLOAD_URL " --trust-server-names || exit 1
377371 fi
378372 # Disable automatic updates
379- mkdir -p " $APP " .AppDir/distribution
380- echo " $POLICIES " > " $APP " .AppDir/distribution/policies.json
373+ touch " $APP " .AppDir/is_packaged_app
381374 # Extract the archive
382375 [ -e ./* tar.* ] && tar fx ./* tar.* && mv ./firefox/* " $APP " .AppDir/ && rm -f ./* tar.* || exit 1
383376 # Enter the AppDir
You can’t perform that action at this time.
0 commit comments