Open mqliutie opened 2 years ago
Using electron to update my.app the prompt will be shown.
Beacuse I am a frontend developer, I don't know the code written by OC or C++.
I have searched the check writable code
NSURL *targetURL = NSRunningApplication.currentApplication.bundleURL; BOOL targetWritable = [self canWriteToURL:targetURL]; BOOL parentWritable = [self canWriteToURL:targetURL.URLByDeletingLastPathComponent];
That means targetWritable or parentWritable is false.
targetWritable
parentWritable
Assuming that my App is in Applications folder named Super built by electron.
Applications
Super
I want to know which directory is not writable.
Thanks
Using electron to update my.app the prompt will be shown.
Beacuse I am a frontend developer, I don't know the code written by OC or C++.
I have searched the check writable code
That means
targetWritable
orparentWritable
is false.Assuming that my App is in
Applications
folder namedSuper
built by electron.I want to know which directory is not writable.
Thanks