moretension / duti

A command-line tool to select default applications for document types and URL schemes on Mac OS X
Other
1.41k stars 66 forks source link

macOS13 #51

Open darvintang opened 1 year ago

darvintang commented 1 year ago

error: darwin22.2.0 is not a supported system

iloveitaly commented 1 year ago

@darvintang feel free to submit a PR to support! I bet if you compiled this locally it would work just fine.

darvintang commented 1 year ago

update

remove Makefile.in:19 -mmacosx-version-min=@macosx_dep_target@ \ edit Makefile.in:6 prefix=/opt/tools

/opt/tools is my custom scripts folder

successful!

darvintang commented 1 year ago

SHELL = /bin/sh

srcdir = .

prefix=/usr/local # Apple Silicon at /opt exec_prefix=${prefix} datarootdir=${prefix}/share datadir=${datarootdir} BINDIR=${exec_prefix}/bin MANDIR=${datarootdir}/man

DUTI_BUILD_DATE=November 01, 2022

CC= gcc FRAMEWORKS= -framework ApplicationServices -framework CoreFoundation OPTOPTS= -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk \ -arch x86_64 -arch arm64 \ -mmacosx-version-min= \ # not set -Wall -Wmissing-prototypes

iloveitaly commented 12 months ago

@darvintang can you submit a PR for this?