diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /editors/atom/files/patch-script_lib_package-application.js | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Diffstat (limited to 'editors/atom/files/patch-script_lib_package-application.js')
-rw-r--r-- | editors/atom/files/patch-script_lib_package-application.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/editors/atom/files/patch-script_lib_package-application.js b/editors/atom/files/patch-script_lib_package-application.js new file mode 100644 index 000000000000..f711f1fc2f67 --- /dev/null +++ b/editors/atom/files/patch-script_lib_package-application.js @@ -0,0 +1,29 @@ +--- script/lib/package-application.js.orig 2019-10-21 17:33:40 UTC ++++ script/lib/package-application.js +@@ -66,7 +66,7 @@ module.exports = function() { + 'Resources' + ); + setAtomHelperVersion(packagedAppPath); +- } else if (process.platform === 'linux') { ++ } else if (process.platform === 'linux' || process.platform === 'freebsd') { + bundledResourcesPath = path.join(packagedAppPath, 'resources'); + chmodNodeFiles(packagedAppPath); + } else { +@@ -118,7 +118,7 @@ function copyNonASARResources(packagedAppPath, bundled + path.join(CONFIG.repositoryRootPath, 'resources', 'mac', 'file.icns'), + path.join(bundledResourcesPath, 'file.icns') + ); +- } else if (process.platform === 'linux') { ++ } else if (process.platform === 'linux' || process.platform === 'freebsd') { + fs.copySync( + path.join( + CONFIG.repositoryRootPath, +@@ -234,7 +234,7 @@ function renamePackagedAppDir(packageOutputDirPath) { + path.join(packageOutputDirPath, appBundleName), + packagedAppPath + ); +- } else if (process.platform === 'linux') { ++ } else if (process.platform === 'linux' || process.platform === 'freebsd') { + const appName = + CONFIG.channel !== 'stable' ? `atom-${CONFIG.channel}` : 'atom'; + let architecture; |