diff --git a/starskydesktop/src/app/child-process/spawn-clean-mac-os.spec.ts b/starskydesktop/src/app/child-process/spawn-clean-mac-os.spec.ts index c1386d2620..df22942993 100644 --- a/starskydesktop/src/app/child-process/spawn-clean-mac-os.spec.ts +++ b/starskydesktop/src/app/child-process/spawn-clean-mac-os.spec.ts @@ -14,7 +14,7 @@ describe("SpawnCleanMacOs function", () => { expect(result).toBe(true); }); - it.skip("should call executeXattrCommand and executeCodesignCommand when processPlatform is darwin", async () => { + it("should call executeXattrCommand and executeCodesignCommand when processPlatform is darwin", async () => { if (process.platform !== "darwin") { return; } diff --git a/starskydesktop/src/app/child-process/spawn-clean-mac-os.ts b/starskydesktop/src/app/child-process/spawn-clean-mac-os.ts index 2cf07e231f..2ba2ce6852 100644 --- a/starskydesktop/src/app/child-process/spawn-clean-mac-os.ts +++ b/starskydesktop/src/app/child-process/spawn-clean-mac-os.ts @@ -80,6 +80,7 @@ export function SpawnCleanMacOs(appStarskyPath: string, processPlatform: string) return new Promise((resolve, reject) => { if (processPlatform !== "darwin") { resolve(true); + return; } Promise.all([ExecuteXattrCommand(appStarskyPath), ExecuteCodesignCommand(appStarskyPath)])