Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 261b918

Browse filesBrowse files
committed
Add support for LZSS tools on MacOS
1 parent bcfcdd7 commit 261b918
Copy full SHA for 261b918

File tree

Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-1
lines changed

‎extras/tools/lzss.dylib

Copy file name to clipboard
17.2 KB
Binary file not shown.

‎extras/tools/lzss.py

Copy file name to clipboardExpand all lines: extras/tools/lzss.py
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
#!/usr/bin/python3
22

3+
import platform
34
import sys
45
import ctypes
56

6-
LZSS_SO_FILE = "./lzss.so"
7+
LZSS_SO_EXT = "so" if platform.uname()[0] != "Darwin" else "dylib"
8+
9+
LZSS_SO_FILE = f"./lzss.{LZSS_SO_EXT}"
710

811
if len(sys.argv) != 4:
912
print ("Usage: lzss.py --[encode|decode] infile outfile")

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.