Skip to content

Commit

Permalink
Cleanup + release
Browse files Browse the repository at this point in the history
  • Loading branch information
Benji377 committed Sep 12, 2024
1 parent 877356b commit 965401e
Show file tree
Hide file tree
Showing 13 changed files with 23 additions and 116 deletions.
3 changes: 0 additions & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
.github/
.vscode/
target/
docker/
.gitignore
snapcraft.yaml
Makefile
CHANGELOG.md
CODE_OF_CONDUCT.md
codecov.yml
renovate.json
snapcraft.yaml
2 changes: 1 addition & 1 deletion .github/workflows/arm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
VERSION: 1.2.1
VERSION: 1.2.2

jobs:
build:
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/coverage.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_dispatch:

env:
VERSION: 1.2.1
VERSION: 1.2.2

jobs:
release:
Expand Down Expand Up @@ -39,6 +39,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
draft: true
generate_release_notes: true
tag_name: Raspirus v${{ env.VERSION }}
files: |
${{ matrix.platform == 'macos-latest' && 'target/release/Raspirus.app' || '' }}
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Our release schedule is designed to balance feature development, stability, and
| 1.1.3 | Improved updater speed and transfered to GitHub signatures |
| 1.2.0 | Fixed Bugs and added Patch functionality |
| 1.2.1 | Minor bug fixes |
| 1.2.2 | Highly experimental build with new Rust toolchain |


Please refer to this change log for details on each version's changes and improvements. We appreciate your feedback and contributions as we continue to enhance our antivirus application to meet your security needs.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "raspirus"
version = "1.2.1"
version = "1.2.2"
description = "A simple hash-based virus-scanner"
authors = ["Demetz Benjamin, Hell Björn Felix"]
license = "GPLv3"
Expand Down Expand Up @@ -46,10 +46,10 @@ winapi = "0.3.9"


[package.metadata.packager]
name = "raspirus"
#name = "raspirus"
product-name = "Raspirus"
identifier = "com.raspirus.app"
version = "1.2.1"
#version = "1.2.1"
category = "Utility"
homepage = "https://raspirus.deno.dev"
icons = ["src/assets/logo.png"]
Expand Down
25 changes: 6 additions & 19 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,13 @@ COPY . .
ENV DEBIAN_FRONTEND=noninteractive

RUN apt-get clean && apt-get update && apt-get upgrade -y
RUN apt-get update && apt-get install -y libwebkit2gtk-4.1-dev \
RUN apt-get update && apt-get install -y pkg-config \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
libssl-dev

# Create the out directory
RUN mkdir dist
# Install Rust packager
RUN cargo install cargo-packager --locked

# Add the rust toolchain
RUN rustup target add wasm32-unknown-unknown

# Install app deps
RUN cargo install tauri-cli
RUN cargo install trunk
RUN cargo install --path src-tauri/

# Build app
RUN cargo tauri build -b deb
# Package app
RUN cargo packager --release --verbose
26 changes: 6 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,32 +30,18 @@ install:
echo "source \$$HOME/.cargo/env" >> $(HOME)/.bashrc; \
echo "Appended source to ~/.bashrc"; \
fi
@printf "$(TEXT)🌔 >>>> Installing Tauri deps$(RESET)"
sudo apt-get install -y libwebkit2gtk-4.1-dev \
@printf "$(TEXT)🌔 >>>> Installing system deps$(RESET)"
sudo apt-get install -y pkg-config \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
@printf "$(TEXT)🌕 >>>> Installing Tauri$(RESET)"
source $(HOME)/.cargo/env && cargo install tauri-cli
@printf "$(TEXT)🌖 >>>> Adding WASM target$(RESET)"
rustup target add wasm32-unknown-unknown
@printf "$(TEXT)🌗 >>>> Installing Trunk$(RESET)"
source $(HOME)/.cargo/env && cargo install trunk
@printf "$(TEXT)🌗 >>>> Setting up required folders$(RESET)"
mkdir -p dist
@printf "$(TEXT)🌘 >>>> Compiling src-tauri module$(RESET)"
source $(HOME)/.cargo/env && cargo install --path src-tauri/
libssl-dev
@printf "$(TEXT)🌕 >>>> Checking project$(RESET)"
source $(HOME)/.cargo/env && cargo check
@printf "$(TEXT)🎉 >>>> Done!$(RESET)"

build:
@clear
@printf "$(TEXT)>>>> Building release$(RESET)"
cargo tauri build
cargo build --release --verbose
@printf "$(TEXT)>>>> Done!$(RESET)"

test:
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
![Discord](https://img.shields.io/discord/1132753101485514774?logo=discord&label=Join%20the%20Discord)
[![Test](https://github.com/Raspirus/Raspirus/actions/workflows/testproject.yml/badge.svg)](https://github.com/Raspirus/Raspirus/actions/workflows/testproject.yml)
[![Codecov](https://codecov.io/gh/Raspirus/Raspirus/branch/main/graph/badge.svg?token=0GFFWY7YBP)](https://codecov.io/gh/Raspirus/Raspirus)
![GitHub downloads](https://img.shields.io/github/downloads/Raspirus/Raspirus/total?label=Downloads)
[![Static Badge](https://img.shields.io/badge/Contact_Us-Gmail-red?style=flat&logo=gmail)](mailto:raspirus.dev@gmail.com)
[![Gmail](https://img.shields.io/badge/Contact_Us-Gmail-red?style=flat&logo=gmail)](mailto:raspirus.dev@gmail.com)
[![Say Thanks!](https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg)](https://saythanks.io/to/Benji377)

# :rocket: Raspirus
Expand Down
29 changes: 0 additions & 29 deletions codecov.yml

This file was deleted.

2 changes: 1 addition & 1 deletion deps
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
raspirus v1.2.1 (/home/gamingguy003/Documents/Pfusch/Raspirus)
raspirus v1.2.2 (/home/gamingguy003/Documents/Pfusch/Raspirus)
├── chrono v0.4.38
│ ├── iana-time-zone v0.1.60
│ └── num-traits v0.2.19
Expand Down
2 changes: 1 addition & 1 deletion snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: raspirus
base: core18
version: 1.2.1
version: 1.2.2
summary: A resource- and human-friendly malware scanner
description: Raspirus is your cost-free, versatile malware scanner. Tailored signature detection, comprehensive file scans, and privacy prioritized for swift, reliable protection.
grade: stable
Expand Down

0 comments on commit 965401e

Please sign in to comment.