mirror of
https://github.com/audacity/audacity-actions.git
synced 2025-12-10 03:56:07 -06:00
Fixes localization in Universal bundles on macOS
This commit is contained in:
parent
8d63383548
commit
91c5df95c0
2
dist/package/index.js
vendored
2
dist/package/index.js
vendored
File diff suppressed because one or more lines are too long
@ -8,6 +8,12 @@ async function create (targetPath, inputBundles) {
|
||||
firstBundle = await fileUtils.getAudacityMacOSBundleFiles(inputBundles[0]);
|
||||
await fileUtils.copyFiles(inputBundles[0], firstBundle.misc, targetPath);
|
||||
|
||||
// Audacity creates empty en.lproj directory in the bundle
|
||||
enlprojPath = path.join(targetPath, 'Contents', 'Resources', 'en.lproj');
|
||||
if (!fs.existsSync(enlprojPath)) {
|
||||
fs.mkdirSync(enlprojPath, { recursive: true });
|
||||
}
|
||||
|
||||
const binaries = [
|
||||
...firstBundle.MacOS,
|
||||
...firstBundle.Frameworks.dylib,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user