update readme
This commit is contained in:
58
BUILDING.md
58
BUILDING.md
@@ -1,4 +1,4 @@
|
|||||||
## Get the source and install the requirements:
|
Get the source and install the requirements:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://github.com/seird/gotify-tray.git
|
$ git clone https://github.com/seird/gotify-tray.git
|
||||||
@@ -7,13 +7,9 @@ $ pip install -r requirements.txt
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Run from source
|
# Windows
|
||||||
|
|
||||||
```shell
|
## Create a stand-alone executable with pyinstaller
|
||||||
$ python -m gotify_tray
|
|
||||||
```
|
|
||||||
|
|
||||||
### Create a pyinstaller executable
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ pip install pyinstaller
|
$ pip install pyinstaller
|
||||||
@@ -21,14 +17,7 @@ $ pyinstaller gotify-tray.spec
|
|||||||
```
|
```
|
||||||
An executable is created at `dist/gotify-tray/`.
|
An executable is created at `dist/gotify-tray/`.
|
||||||
|
|
||||||
### Create a macos .app
|
## Create an installer with Inno Setup
|
||||||
|
|
||||||
```shell
|
|
||||||
$ pip install pyinstaller Pillow
|
|
||||||
$ pyinstaller gotify-tray.spec
|
|
||||||
```
|
|
||||||
|
|
||||||
### Inno setup (Windows)
|
|
||||||
|
|
||||||
Create an installer for windows with inno setup from pyinstaller output:
|
Create an installer for windows with inno setup from pyinstaller output:
|
||||||
|
|
||||||
@@ -36,7 +25,32 @@ Create an installer for windows with inno setup from pyinstaller output:
|
|||||||
$ iscc gotify-tray.iss
|
$ iscc gotify-tray.iss
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create and install a pip package
|
The installer is created at `inno-output/gotify-tray-installer.exe`.
|
||||||
|
|
||||||
|
|
||||||
|
# Linux
|
||||||
|
|
||||||
|
## Create a deb package
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ make build
|
||||||
|
|
||||||
|
# or install
|
||||||
|
|
||||||
|
$ sudo make install
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
# MacOS
|
||||||
|
|
||||||
|
## Create a macos .app
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ pip install pyinstaller Pillow
|
||||||
|
$ pyinstaller gotify-tray.spec
|
||||||
|
```
|
||||||
|
|
||||||
|
# Create and install a pip package
|
||||||
|
|
||||||
- Create the pip package:
|
- Create the pip package:
|
||||||
```shell
|
```shell
|
||||||
@@ -48,17 +62,7 @@ $ iscc gotify-tray.iss
|
|||||||
$ pip install dist/gotify_tray-0.1.14-py3-none-any.whl
|
$ pip install dist/gotify_tray-0.1.14-py3-none-any.whl
|
||||||
```
|
```
|
||||||
|
|
||||||
- Launch:
|
- Launch from the command line:
|
||||||
```shell
|
```shell
|
||||||
$ gotify-tray
|
$ gotify-tray
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a deb package
|
|
||||||
|
|
||||||
```shell
|
|
||||||
$ make build
|
|
||||||
|
|
||||||
# or install
|
|
||||||
|
|
||||||
$ sudo make install
|
|
||||||
```
|
|
||||||
@@ -38,8 +38,7 @@ A tray notification application for receiving messages from a [Gotify server](ht
|
|||||||
|
|
||||||
Default | Dark
|
Default | Dark
|
||||||
:-------------------------------------------------:|:---------------------------------------------------------:
|
:-------------------------------------------------:|:---------------------------------------------------------:
|
||||||
 | 
|
 | 
|
||||||
 | 
|
|
||||||
|
|
||||||
|
|
||||||
### Notification banners
|
### Notification banners
|
||||||
|
|||||||
@@ -4,7 +4,5 @@ echo "Creating executable"
|
|||||||
try {C:/Python39/Scripts/pyinstaller gotify-tray.spec}
|
try {C:/Python39/Scripts/pyinstaller gotify-tray.spec}
|
||||||
catch {pyinstaller gotify-tray.spec}
|
catch {pyinstaller gotify-tray.spec}
|
||||||
|
|
||||||
try {Remove-Item "dist/gotify-tray/opengl32sw.dll"} catch {}
|
|
||||||
|
|
||||||
echo "Creating installer"
|
echo "Creating installer"
|
||||||
iscc gotify-tray.iss
|
iscc gotify-tray.iss
|
||||||
|
|||||||
Reference in New Issue
Block a user