A Swift Recreation of Attach-Detach, with some configurable options

Overview

Attach-Detach-Sw

A Swift Recreation of Attach-Detach, with some configurable options

Usage

To use, you'll need to specify if you are attaching or detaching, See below:

Attaching

To Attach a DMG, the following command should be run: attachdetachsw --attach/-a DMGFILE. Where DMGFile is the path of the DMG to attach. Example usage:

iPhone:~ mobile% attachdetachsw -a attachdetachsw.dmg
Attached as disk6

Detaching

To detach/eject a disk, the following command should be run: attachdetachsw --detach/-d diskWithNumebr Where diskWithNumebr is the disk to eject. Example usage:

iPhone:~ mobile% attachdetachsw -d disk6
Detached /dev/disk6

Options

Though these aren't necessary, the following options can be used:

Attach Options

  • -f, --file-mode=FILEMODE Where FILEMODE is a number, sets the filemode while attaching
  • -s, --set-auto-mount Sets automount to true while attaching
  • -o, --all-dirs Prints all the /dev/disk directories that the DMG was attached to
  • -r, --reg-entry-id Prints the RegEntryID of the disk the DMG was attached to

Detach Options

There are currently no options for detaching.

Building

To build, you must have Theos and the swift-toolchain, you also must be building with a patched SDK.

git clone https://github.com/Serena-io/Attach-Detach-Sw
cd Attach-Detach-Sw
make package
You might also like...
ColorMix-by-IUKit - colorMix app by Intro to app development in Swift

colorMix-by-IUKit colorMix app by "Intro to app development in Swift" In this ap

A Swift Recreation of Attach-Detach, with some configurable options

Attach-Detach-Sw A Swift Recreation of Attach-Detach, with some configurable options Usage To use, you'll need to specify if you are attaching or deta

A framework which helps you attach observers to `UIView`s to get updates on its frame changes

FrameObserver is a framework that lets you attach observers to any UIView subclass and get notified when its size changes. It doesn't use any Method S

Simplistic & unfinished recreation of MobileSafari's tab bar
Simplistic & unfinished recreation of MobileSafari's tab bar

SafariTabBar This is a simplistic recreation of the MobileSafari tab bar on iPad (prior to iPadOS 15). It is also very unfinished, and not intended in

Recreation of cards from Apple's AppStore written using SwiftUI.
Recreation of cards from Apple's AppStore written using SwiftUI.

App Store Cards Animation I tried to reproduce the look and the feeling of the cards from the AppStore. Please note that this repository is a work-in-

Recreation of calculator-checklist project in SwiftUI

Calculator Checklist A project created out of curiosity to test the waters of SwiftUI, Apple's new UI Framework. The caculator-checklist concept was o

Reel Search is a Swift UI controller that allows you to choose options from a list
Reel Search is a Swift UI controller that allows you to choose options from a list

REEL SEARCH Reel Search is a Swift UI controller that allows you to choose options from a list We specialize in the designing and coding of custom UI

A Swift library to design custom prompts with a great scope of options to choose from.
A Swift library to design custom prompts with a great scope of options to choose from.

Installation CocoaPods Install with CocoaPods by adding the following to your Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios,

A swift library based on the various options menu in material design in Android
A swift library based on the various options menu in material design in Android

KTOptionMenu Description KTOptionMenu is a swift library based on the various options menu in material design in Android that allows you to easily cre

Provides a custom presentation modifier that provides more options including full screen presentations. (iOS)

Presentation Also available as a part of my SwiftUI+ Collection โ€“ just add it to Xcode 13+ Provides a custom presentation modifier that provides more

Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options.

SwiftyMarkdown 1.0 SwiftyMarkdown converts Markdown files and strings into NSAttributedStrings using sensible defaults and a Swift-style syntax. It us

๐Ÿ” RAMReel is a UI controller that allows you to choose options from a list.
๐Ÿ” RAMReel is a UI controller that allows you to choose options from a list.

REEL SEARCH Reel Search is a Swift UI controller that allows you to choose options from a list We specialize in the designing and coding of custom UI

URL query encoder with OpenAPI serialization options support

URLQueryEncoder A customizable Swift Encoder that encodes instances of data type

TraceLog is a highly configurable, flexible, portable, and simple to use debug logging system for Swift and Objective-C applications running on Linux, macOS, iOS, watchOS, and tvOS.

Please star this github repository to stay up to date. TraceLog Introduction TraceLog is a highly configurable, flexible, portable, and simple to use

Configurable animated onboarding screen written programmatically in Swift for UIKit
Configurable animated onboarding screen written programmatically in Swift for UIKit

Configurable animated onboarding screen written programmatically in Swift for UIKit โ€“ inspired by many Apple-designed user interfaces in iOS โ€“ with Insignia as an example.

Declarative, configurable & highly reusable UI development as making Lego bricks.
Declarative, configurable & highly reusable UI development as making Lego bricks.

LeeGo is a lightweight Swift framework that helps you decouple & modularise your UI component into small pieces of LEGO style's bricks, to make UI dev

Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, gantt chart or timetable as if you are using Excel.
Full configurable spreadsheet view user interfaces for iOS applications. With this framework, you can easily create complex layouts like schedule, gantt chart or timetable as if you are using Excel.

kishikawakatsumi/SpreadsheetView has moved! It is being actively maintained at bannzai/SpreadsheetView. This fork was created when the project was mov

A fancy logger yet lightweight, and configurable. ๐Ÿ–จ
A fancy logger yet lightweight, and configurable. ๐Ÿ–จ

๐Ÿ“ฃ ๐Ÿ“ฃ Important: Printer can only print console logs if you're running an app in the Simulator. If you're running in a real device it will not print a

SwiftUI Package for Configurable Confetti Animation ๐ŸŽ‰
SwiftUI Package for Configurable Confetti Animation ๐ŸŽ‰

๐ŸŽŠ ConfettiSwiftUI ๐ŸŽŠ Swift package for displaying configurable confetti animation. Find the demo project here. Installation: It requires iOS 14 and X

Owner
Serena
She / her. Writes code in Swift.
Serena
Create walkthroughs and guided tours (coach marks) in a simple way, with Swift.

Add customizable coach marks into your iOS project. Available for both iPhone and iPad. โš ๏ธ Instructions 2.0.1 brings a couple of breaking changes, ple

Frรฉdรฉric Maquin 4.9k Jan 3, 2023
OnboardKit - Customizable user onboarding for your UIKit app in Swift

OnboardKit Customizable user onboarding for your UIKit app in Swift Requirements Swift 5.0 Xcode 10 iOS 11.0+ Installation Carthage github "NikolaKire

Nikola Kirev 470 Dec 23, 2022
iOS library Paper Onboarding is a material design UI slider written on Swift.

iOS library Paper Onboarding is a material design UI slider written on Swift. We specialize in the designing and coding of custom UI

Ramotion 3.2k Jan 5, 2023
SwiftyWalkthrough is a library for creating great walkthrough experiences in your apps, written in Swift.

SwiftyWalkthrough is a library for creating great walkthrough experiences in your apps, written in Swift. You can use the library to allow users to navigate and explore your app, step by step, in a predefined way controlled by you.

Rui Costa 370 Nov 24, 2022
A simple keyframe-based animation framework for iOS, written in Swift. Perfect for scrolling app intros.

RazzleDazzle is a simple AutoLayout-friendly keyframe animation framework for iOS, written in Swift. Perfect for scrolling app intros. RazzleDazzle gr

IFTTT 3.4k Jan 1, 2023
Fully customisable tooltip view in Swift for iOS.

Description EasyTipView is a fully customizable tooltip view written in Swift that can be used as a call to action or informative tip. Contents Featur

Teo 2.9k Dec 27, 2022
Swift based simple information view with pointed arrow.

InfoView View to show small text information blocks with arrow pointed to another view.In most cases it will be a button that was pressed. Example To

Anatoliy Voropay 60 Feb 4, 2022
An iOS framework to easily create simple animated walkthrough, written in Swift.

Intro Overview An iOS framework to easily create simple animated walkthrough, written in Swift. Requirements iOS8 Installation with CocoaPods Intro is

Nurdaulet Bolatov 33 Oct 1, 2021
Simple coach mark library written in Swift

Minamo Simple coach mark library written in Swift Usage Initialize let rippeleView = RippleView() rippeleView.tintColor = UIColor(red: 0.3, green: 0.7

yukiasai 248 Nov 24, 2022
Swift Actors Introduction

Swift-Actors-Introduction Swift 5.5~ ไธฆ่กŒๅ‡ฆ็†ใซใŠใ‘ใ‚‹ใƒ‡ใƒผใ‚ฟๆ•ดๅˆใ‚„ใใฎไป–ใฎไธๅ…ทๅˆใ‚’้˜ฒใใŸใ‚ใฎไป•็ต„ใฟใ€‚ https://doc

Sho Emoto 0 Jan 3, 2022