mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-03-13 12:01:38 +00:00
Compare commits
3 Commits
35e6ffd6af
...
4.2.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e4b41feb5 | |||
|
cbfa8720f1
|
|||
|
a02c5e5b9b
|
6
.github/workflows/default.yml
vendored
6
.github/workflows/default.yml
vendored
@@ -76,3 +76,9 @@ jobs:
|
|||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
pytest core hscommon
|
pytest core hscommon
|
||||||
|
- name: Upload Artifacts
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: modules ${{ matrix.python-version }}
|
||||||
|
path: ${{ github.workspace }}/**/*.so
|
||||||
|
|||||||
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user