diff options
author | Omar Rizwan <omar@omar.website> | 2021-02-08 04:30:36 -0800 |
---|---|---|
committer | Omar Rizwan <omar@omar.website> | 2021-02-08 04:30:36 -0800 |
commit | 341ae6d477ae79b087d302f7de9ccac33f4bef55 (patch) | |
tree | 84b28a9b7e83196aea613ad0acde8bef3eec9209 /extension/safari | |
parent | eae9082407a81746bb11882a76f28eeeed501ae4 (diff) | |
download | TabFS-341ae6d477ae79b087d302f7de9ccac33f4bef55.tar.gz TabFS-341ae6d477ae79b087d302f7de9ccac33f4bef55.zip |
safari: more cleanup, start on README.md
Diffstat (limited to 'extension/safari')
-rw-r--r-- | extension/safari/README.md | 22 | ||||
-rw-r--r-- | extension/safari/TabFS/TabFS.xcodeproj/project.xcworkspace/xcuserdata/osnr.xcuserdatad/UserInterfaceState.xcuserstate | bin | 60762 -> 61786 bytes | |||
-rw-r--r-- | extension/safari/TabFS/TabFS/Base.lproj/Main.storyboard | 14 | ||||
-rw-r--r-- | extension/safari/TabFS/TabFS/ViewController.swift | 4 |
4 files changed, 23 insertions, 17 deletions
diff --git a/extension/safari/README.md b/extension/safari/README.md new file mode 100644 index 0000000..730cf82 --- /dev/null +++ b/extension/safari/README.md @@ -0,0 +1,22 @@ +## TabFS for Safari + +This support is a work in progress (as are these instructions). + +Safari's extension support is pretty messy. You will need: + +- Xcode installed +- Safari 14 or newer +- macOS 10.15 Catalina or newer + +Enable the Develop menu in Safari, then Develop -> Allow Unsigned +Extensions. + +Open the Xcode project `TabFS/TabFS.xcodeproj` in this directory. Run +the project. It should open a TabFS app and install the extension in +Safari. + +Enable the extension in Safari Preferences, grant it access to all +sites. It should be running now! (?) + +Check the `fs/mnt` folder of the TabFS repo on your computer to see if +it's mounted. diff --git a/extension/safari/TabFS/TabFS.xcodeproj/project.xcworkspace/xcuserdata/osnr.xcuserdatad/UserInterfaceState.xcuserstate b/extension/safari/TabFS/TabFS.xcodeproj/project.xcworkspace/xcuserdata/osnr.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex 532c8e2..78ca235 100644 --- a/extension/safari/TabFS/TabFS.xcodeproj/project.xcworkspace/xcuserdata/osnr.xcuserdatad/UserInterfaceState.xcuserstate +++ b/extension/safari/TabFS/TabFS.xcodeproj/project.xcworkspace/xcuserdata/osnr.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/extension/safari/TabFS/TabFS/Base.lproj/Main.storyboard b/extension/safari/TabFS/TabFS/Base.lproj/Main.storyboard index 94e9cfb..ea2f26e 100644 --- a/extension/safari/TabFS/TabFS/Base.lproj/Main.storyboard +++ b/extension/safari/TabFS/TabFS/Base.lproj/Main.storyboard @@ -107,19 +107,9 @@ <rect key="frame" x="0.0" y="34" width="480" height="328"/> <subviews> <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="FWV-e2-WQh" userLabel="IconView"> - <rect key="frame" x="176" y="200" width="128" height="128"/> + <rect key="frame" x="176" y="137" width="128" height="191"/> <imageCell key="cell" refusesFirstResponder="YES" alignment="left" image="AppIcon" id="Hhb-TZ-Dhg"/> </imageView> - <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="LPN-IP-tY1"> - <rect key="frame" x="144" y="130" width="192" height="32"/> - <buttonCell key="cell" type="push" title="Start TabFS and Connect" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="OYN-4O-IVc"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="system"/> - </buttonCell> - <connections> - <action selector="startTabFSAndConnect:" target="XfG-lQ-9wD" id="ECW-0t-4uE"/> - </connections> - </button> <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="EB0-ac-UZR"> <rect key="frame" x="38" y="63" width="404" height="32"/> <constraints> @@ -149,13 +139,11 @@ DQ <integer value="1000"/> <integer value="1000"/> <integer value="1000"/> - <integer value="1000"/> </visibilityPriorities> <customSpacing> <real value="3.4028234663852886e+38"/> <real value="3.4028234663852886e+38"/> <real value="3.4028234663852886e+38"/> - <real value="3.4028234663852886e+38"/> </customSpacing> </stackView> </subviews> diff --git a/extension/safari/TabFS/TabFS/ViewController.swift b/extension/safari/TabFS/TabFS/ViewController.swift index 958de47..7681fe0 100644 --- a/extension/safari/TabFS/TabFS/ViewController.swift +++ b/extension/safari/TabFS/TabFS/ViewController.swift @@ -47,8 +47,4 @@ class ViewController: NSViewController { } } } - - @IBAction func startTabFSAndConnect(_ sender: Any) { -// FSProcessManager.start() - } } |