mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-08 17:59:50 +00:00
Compare commits
2 Commits
a02c5e5b9b
...
9e4b41feb5
Author | SHA1 | Date | |
---|---|---|---|
9e4b41feb5 | |||
cbfa8720f1 |
@ -10,6 +10,8 @@
|
|||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <CoreGraphics/CoreGraphics.h>
|
||||||
|
#import <ImageIO/ImageIO.h>
|
||||||
|
|
||||||
#define RADIANS( degrees ) ( degrees * M_PI / 180 )
|
#define RADIANS( degrees ) ( degrees * M_PI / 180 )
|
||||||
|
|
||||||
|
@ -12,7 +12,11 @@ if op.exists(__file__):
|
|||||||
# inside qt/, so we just go back one level.
|
# inside qt/, so we just go back one level.
|
||||||
BASE_PATH = op.abspath(op.join(op.dirname(__file__), ".."))
|
BASE_PATH = op.abspath(op.join(op.dirname(__file__), ".."))
|
||||||
else:
|
else:
|
||||||
# We're under a freezed environment. Our base path is ''.
|
# Should be a frozen environment
|
||||||
|
if ISOSX:
|
||||||
|
BASE_PATH = op.abspath(op.join(op.dirname(__file__), '..', '..', 'Resources'))
|
||||||
|
else:
|
||||||
|
# For others our base path is ''.
|
||||||
BASE_PATH = ""
|
BASE_PATH = ""
|
||||||
HELP_PATH = op.join(BASE_PATH, "help")
|
HELP_PATH = op.join(BASE_PATH, "help")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user