File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
core/dylib/src/main/java/ch/cyberduck/core/preferences Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1515 * GNU General Public License for more details.
1616 */
1717
18- import ch .cyberduck .binding .foundation .NSBundle ;
1918import ch .cyberduck .core .ApplescriptTerminalService ;
2019import ch .cyberduck .core .Factory ;
2120import ch .cyberduck .core .IOKitSleepPreventer ;
@@ -124,10 +123,8 @@ protected void setFactories() {
124123 this .setDefault ("factory.hardwareaddress.class" , IOKitHardwareAddress .class .getName ());
125124 this .setDefault ("factory.pasteboardservice.class" , WorkspacePasteboardService .class .getName ());
126125
127- if (null != NSBundle .mainBundle ().appStoreReceiptURL ()) {
128- if (null != NSBundle .mainBundle ().appStoreReceiptURL ().fileReferenceURL ()) {
129- this .setDefault ("factory.licensefactory.class" , ReceiptFactory .class .getName ());
130- }
126+ if (null == this .getDefault ("SUExpectsDSASignature" )) {
127+ this .setDefault ("factory.licensefactory.class" , ReceiptFactory .class .getName ());
131128 }
132129 }
133130}
You can’t perform that action at this time.
0 commit comments