Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add macOS support #3

Merged
merged 5 commits into from
Sep 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,36 @@ tesseract-ocr/
# tesserect-ocr needs to be redownloaded from link provided in README.md
__pycache__/
windoweffect/__pycache__/

# scraper.app must be rebuilt because of the amount of files
macOS/SearchifyX/scraper.app

# Xcode
xcuserdata/

# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
20 changes: 20 additions & 0 deletions macOS/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SearchifyX for macOS

There now exists a native Swift app for macOS! It still uses Python for the scraping but the front-end/GUI is now native.
The only downsides to this version is that so far the stealth features are not available in this version.

## Building

To build this version of SearchifyX, you will need to only install the dependencies required for this version of SearchifyX listed in the [requirements.txt]() file:
```
$ python3 -m pip install -r requirements.txt
```

Then just run the build script from the macOS directory to build the latest version of [scraper.py]():
```
$ ./build.sh
```
> You may need to give the build and clean scripts the proper permissions to execute

That will build and compile the macOS app of scraper.py.
Now you can launch the Xcode project and build from there!
Loading