Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.
/ mac Public archive

💻 Installer for Pandoks_'s macOS applications and settings.

Notifications You must be signed in to change notification settings

Pandoks/mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mac

NOTE: This repository is archived because I developed a more efficient installer in my .dotfiles repository.

An installer for Pandoks_'s macOS applications and settings.

Overview

Table of Contents

Installation

Requirements:

  • macOS only
  • zsh as default shell
  • signed into Apple ID

Installation:

To use the installer, run the following from the terminal.

git clone https://github.com/Pandoks/mac.git
cd mac
./install

Install

NOTE: If this is the first command to ever run in your terminal (fresh install of macOS), you may need to install command line developer tools. Run the above commands and you will be prompted to install the tools. Then run the code again after installation.

Troubleshooting: Only run install inside of the mac directory.

Features

Prompts:

This is similar to verbose flags for command line interfaces. If you answer y to the question Do you want to be prompted about what is being installed [y/n]?, you will be asked a prompt for each step of the installation. If you answer n, it will automatically install everything without prompting you what is being installed. You can use ctrl+c to cancel the install at any time.

Prompt


1. Full Installation:

This installation option will run all other installations at once.

See: Clean Installation, Application Installation, Preference Installation for more information.


2. Clean Installation:

This installation option will only install Homebrew with no formulae or casks and Pandoks_'s terminal setup (Oh-My-Zsh, powerlevel10k, and Pandoks_'s Python modules).


3. Application Installation:

This installation option will install all of Pandoks_'s Homebrew formulae and casks, and App Store apps using mas in addition to the installations made in the Clean Installation option.

Troubleshooting: You must be logged into your Apple ID for a successful App Store app installation


4. Preference Installation:

This installation option will install all of Pandoks_'s vim, tmux (oh-my-tmux), zsh, and hammerspoon settings. In addition, you will be asked if you want to add Github API tokens or sshpass aliases to your .zshrc file. If yes, you will be asked to enter the information needed and it will automatically add it to your .zshrc file. You will also be asked if you want to add any hot key bindings for hammerspoon to load. If yes, you will be asked to enter the information needed and it will automatically add it to your init.lua file.

Preference

Configuration

Syntax:

The syntax used for the .txt files in the subdirectories of preferences is quite simple. Lines that are blank or contain # anywhere will be ignored. Everything else will be processed for installation.

NOTE: Feel free to add .txt files. The installer will detect them.


App Store:

Each application in the Mac App Store has a product identifier which is used for installation. There are two ways of finding a product identifier:

  1. Find the product identifier from the share link in the App Store
  2. Use mas search

mas

After finding the product identifier for the app you want, add it to a new or existing .txt file in the appStore directory.

Troubleshooting: You must be logged into your Apple ID for a successful App Store app installation


Homebrew:

Find the name of the formula or cask. There are two ways of finding the name:

  1. Use brew search (Recommended: this is the preferred method of finding formulae or casks since it is always updated)
  2. Search it up on https://brew.sh/ (The website may not show an available formula or cask)

Homebrew

After finding the name of the package you want to install, if it is a formula, add it to a new or existing .txt file in the homebrewFormulae directory; but if it is a cask, add it to a new or existing .txt file in the homebrewCasks directory.


Python:

Find the package you want to install on PyPi.

After finding a Python module you want to install, add it to a new or existing .txt file in the python directory.

Upcoming Features

Multi-Threading:

Wanna see some speed? Multi-threaded downloads will make multiple installations parallel.


Command Line Interface:

Wanna access the installer at any time? Type in a command in the terminal to access the application like any other command line interface application.


Saving:

Don't want to manually edit the preference files? Saving will allow you to generate the files by detecting all of your downloads.


Rust:

Letting the rustaceans take over 🦀

About

💻 Installer for Pandoks_'s macOS applications and settings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published