-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated manual install instructions to handle old symlink installs.
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,13 +68,16 @@ extract the archive, open a shell into its directory, and run: | |
|
||
Alternately, if you plan on doing development on the extension, or testing modifications, it's advised you checkout the Git repository and install a symlink. First, install git if you don't have it: (sudo apt-get install git-core, sudo pacman -S git, etc), then run: | ||
|
||
mkdir ~/git_projects | ||
cd ~/git_projects | ||
git clone git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git | ||
GIT_PROJECTS=~/git_projects | ||
[email protected] | ||
mkdir $GIT_PROJECTS | ||
cd $GIT_PROJECTS | ||
git clone git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git $PROJECT_NAME | ||
mkdir -p ~/.local/share/gnome-shell/extensions | ||
cd ~/.local/share/gnome-shell/extensions | ||
ln -s ~/git_projects/gnome-shell-system-monitor-applet/[email protected] | ||
gnome-shell-extension-tool [email protected] | ||
{ [ -d "./$PROJECT_NAME" ] || [ -L "./$PROJECT_NAME" ]; } && rm -Rf "./$PROJECT_NAME" | ||
ln -s $GIT_PROJECTS/gnome-shell-system-monitor-applet/$PROJECT_NAME | ||
gnome-shell-extension-tool --enable-extension=$PROJECT_NAME | ||
|
||
And restart gnome-shell (`Alt + F2`, then `r`) or reboot the machine. | ||
|
||
|
@@ -90,15 +93,15 @@ If we do not have the translation of your language and you want to translate by | |
|
||
#### Deployment | ||
|
||
To create a zip file with the specified version number, ready to upload to [Gnome Shell Extensions](https://extensions.gnome.org/) or similar repository, run: | ||
1. To create a zip file with the specified version number, ready to upload to [Gnome Shell Extensions](https://extensions.gnome.org/) or similar repository, run: | ||
|
||
make zip-file VERSION=<version> | ||
|
||
To determine the version number to use, check the extensions site and increment from the largest published version. | ||
|
||
The specified version number is just for documentation and isn't strictly necessary in the uploaded file, since the extensions website will dynamically set this and override whatever we enter. | ||
|
||
Once uploaded, [create a Github release](https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/releases) with the same version number. | ||
2. Once uploaded, [create a Github release](https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/releases) with the same version number. | ||
|
||
### Authors | ||
|
||
|