Skip to content

Commit

Permalink
Fix snap version
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed May 13, 2021
1 parent 5251162 commit c0616a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ You need to install GTK(it should be available by default on most distributions)
```shell
sudo apt install libgtk3-dev
```
### MacOS
### MacOS(not tested)
You need to install GTK from brew
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install rust gtk+3
```

### Windows
### Windows(not tested)
Packed zip file contains all dependences, but if you want, you can install /~https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases and move file whatever you want.

## Installation
Expand Down
5 changes: 1 addition & 4 deletions misc/cargo/PublishSzyszka.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
NUMBER="3.1.0"
NUMBER="1.0.0"
SZYSZKA_PATH="/home/rafal"

cd "$SZYSZKA_PATH"
Expand All @@ -8,8 +8,6 @@ rm -rf $SZYSZKA_PATH
git clone /~https://github.com/qarmin/szyszka.git "$SZYSZKA_PATH"
cd $SZYSZKA_PATH
git checkout "$NUMBER"

cd "$SZYSZKA_PATH"
cargo package
if [ $(echo $?) != "0" ]
then
Expand All @@ -18,7 +16,6 @@ then
fi
git reset --hard

cd "$SZYSZKA_PATH"
cargo publish
git reset --hard

2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: szyszka # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
version: '0.0.1' # just for humans, typically '1.2+git' or '1.3.2'
version: '1.0.0' # just for humans, typically '1.2+git' or '1.3.2'
summary: Szyszka - fast file renamer written in Rust # 79 char long summary
description: |
Szyszka is very fast file renamer written in Rust.
Expand Down

0 comments on commit c0616a7

Please sign in to comment.