|
2 | 2 |
|
3 | 3 | #### Install using Git
|
4 | 4 |
|
5 |
| -1. Clone the [`OpenSCAD` repository](https://github.com/dracula/openscad): |
| 5 | + 1. Clone the [`OpenSCAD` repository](https://github.com/dracula/openscad): |
6 | 6 |
|
7 | 7 | ```sh
|
8 | 8 | git clone https://github.com/dracula/openscad.git
|
9 | 9 | ```
|
10 | 10 |
|
11 |
| -2. Move into the cloned repository: |
| 11 | + 2. Move into the cloned repository: |
12 | 12 |
|
13 | 13 | Linux & Mac:
|
14 |
| - |
15 | 14 | ```bash
|
16 | 15 | cd ./openscad
|
17 | 16 | ```
|
18 | 17 |
|
19 | 18 | Windows
|
20 |
| - |
21 | 19 | ```PowerShell
|
22 | 20 | Set-Location -Path ".\openscad"
|
23 | 21 | ```
|
24 | 22 |
|
25 |
| -3. Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` in the application's config directory if they do not exist. |
| 23 | + 3. Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` in the application's config directory if they do not exist. |
26 | 24 |
|
27 | 25 | Linux:
|
28 |
| -
|
29 | 26 | ```bash
|
30 | 27 | mkdir -p $HOME/.config/OpenSCAD/color-schemes/editor $HOME/.config/OpenSCAD/color-schemes/render
|
31 | 28 | ```
|
32 | 29 |
|
33 | 30 | Mac:
|
34 |
| -
|
35 | 31 | ```bash
|
36 |
| - mkdir -p "$HOME/Library/Application Support/OpenSCAD/color-schemes/editor" "$HOME/Library/Application Support/OpenSCAD/color-schemes/render" |
| 32 | + mkdir -p $HOME/Library/Application Support/OpenSCAD/color-schemes/editor $HOME/Library/Application Support/OpenSCAD/color-schemes/render |
37 | 33 | ```
|
38 | 34 |
|
39 | 35 | Windows:
|
40 |
| -
|
41 | 36 | ```PowerShell
|
42 |
| - New-Item -Path "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\editor" -ItemType Directory |
43 |
| - New-Item -Path "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\render" -ItemType Directory |
| 37 | + New-Item -Path "C:\Users\$env:username\AppData\Local\OpenSCAD\color-schemes\editor" -ItemType Directory |
| 38 | + New-Item -Path "C:\Users\$env:username\AppData\Local\OpenSCAD\color-schemes\render" -ItemType Directory |
44 | 39 | ```
|
45 | 40 |
|
46 |
| -4. Finally, create two symbolic links from the local repository to [OpenSCAD](https://openscad.org/)’s editor and render folders: |
| 41 | + 4. Finally, create two symbolic links from the local repository to [OpenSCAD](https://openscad.org/)’s editor and render folders: |
47 | 42 |
|
48 | 43 | Linux:
|
49 | 44 |
|
|
53 | 48 | ```
|
54 | 49 |
|
55 | 50 | Mac:
|
56 |
| -
|
57 | 51 | ```bash
|
58 |
| - ln -s "$PWD/dracula.json" "$HOME/Library/Application Support/OpenSCAD/color-schemes/editor" |
59 |
| - ln -s "$PWD/transylvania.json" "$HOME/Library/Application Support/OpenSCAD/color-schemes/render" |
| 52 | + ln -s $PWD/dracula.json $HOME/Library/Application Support/OpenSCAD/color-schemes/editor |
| 53 | + ln -s $PWD/transylvania.json $HOME/Library/Application Support/OpenSCAD/color-schemes/render |
60 | 54 | ```
|
61 | 55 |
|
62 | 56 | Windows:
|
63 |
| -
|
64 | 57 | ```PowerShell
|
65 |
| - New-Item -Path "$pwd\dracula.json" -ItemType SymbolicLink -Value "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\editor" |
66 |
| - New-Item -Path "$pwd\transylvania.json" -ItemType SymbolicLink -Value "C:\Documents and Settings\$env:username\Local Settings\Application Data\OpenSCAD\color-schemes\render" |
| 58 | + New-Item -Path "$pwd\dracula.json" -ItemType SymbolicLink -Value "C:\Users\$env:username\AppData\Local\OpenSCAD\color-schemes\editor" |
| 59 | + New-Item -Path "$pwd\transylvania.json" -ItemType SymbolicLink -Value "C:\Users\$env:username\AppData\Local\OpenSCAD\color-schemes\render" |
67 | 60 | ```
|
68 | 61 |
|
69 | 62 | #### Install manually
|
70 | 63 |
|
71 |
| -1. Download the [`OpenSCAD` archive](https://github.com/dracula/openscad/archive/main.zip) and extract it. |
| 64 | + 1. Download the [`OpenSCAD` archive](https://github.com/dracula/openscad/archive/main.zip) and extract it. |
72 | 65 |
|
73 |
| -2. Linux: |
| 66 | + 2. Linux: |
74 | 67 | Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` if it does not exist in `$HOME/.config/`.
|
75 | 68 |
|
76 | 69 | Mac:
|
77 | 70 | Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` if it does not exist in `$HOME/Library/Application Support/`.
|
78 | 71 |
|
79 | 72 | Windows:
|
80 |
| - Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` if it does not exist in `C:\Documents and Settings\$env:username\Local Settings\Application Data\`. |
| 73 | + Create the directories `OpenSCAD/color-schemes/editor` and `OpenSCAD/color-schemes/render` if it does not exist in `C:\Users\$env:username\AppData\Local\`. |
| 74 | +
|
| 75 | + 3. Move the `dracula.json` file from the extracted archive to [OpenSCAD](https://github.com/dracula/openscad/archive/main.zip)’s `editor` folder, and `transylvania.json` to [OpenSCAD](https://github.com/dracula/openscad/archive/main.zip)’s `render` folder. |
81 | 76 |
|
82 |
| -3. Move the `dracula.json` file from the extracted archive to [OpenSCAD](https://github.com/dracula/openscad/archive/main.zip)’s `editor` folder, and `transylvania.json` to [OpenSCAD](https://github.com/dracula/openscad/archive/main.zip)’s `render` folder. |
83 | 77 |
|
84 | 78 | #### Activating theme
|
85 | 79 |
|
|
0 commit comments