safari: more cleanup, start on README.md

This commit is contained in:
Omar Rizwan 2021-02-08 04:30:36 -08:00
parent eae9082407
commit 341ae6d477
4 changed files with 23 additions and 17 deletions

View File

@ -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.

View File

@ -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>

View File

@ -47,8 +47,4 @@ class ViewController: NSViewController {
}
}
}
@IBAction func startTabFSAndConnect(_ sender: Any) {
// FSProcessManager.start()
}
}