Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Mar 11, 2024
1 parent be247e2 commit 2f272f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 1 addition & 0 deletions starskydesktop/src/app/child-process/spawn-clean-mac-os.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)])
Expand Down

0 comments on commit 2f272f5

Please sign in to comment.