Skip to content

Commit

Permalink
Flatpak (#95)
Browse files Browse the repository at this point in the history
* init

* ff

* ff

* ff

* okok

* f

* yep

* ff

* ff

* ff

* ff

* fix for init

* Update settings.json

* fix rust-ana

* ff

* add utils

* Update com.wiiznokes.fan-control.json

* ff

* fix icons

* remove rust-version

* fix seg fault

* use utils on windows

* run cargo update

* Revert "run cargo update"

This reverts commit 6ef4f9d.

* .github issue

* affine module

* Update graph.rs

* fmt

* typo

* ff

* ii

* restore back the linux drop iml

* Update rules.txt

* Update ci.yml

* final fix for flatpak

* change APP_ID

* add info for udev rules

* Update udev_rules.md

* remove json source file

* add release field

* prepare release

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update metainfo.xml
  • Loading branch information
wiiznokes authored Apr 26, 2024
1 parent 8bce9c5 commit 4c4a072
Show file tree
Hide file tree
Showing 53 changed files with 544 additions and 429 deletions.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/blank_issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
name: Blank Issue (do not use this for bug reports or feature requests)
about: Create an issue with a blank template.
---
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Bug Report
about: Report a correctness issue or violated expectation
labels: bug
---

#### Bug Description:

#### Expected Result:

#### Steps to Reproduce:

#### Possible Solutions:

#### Possible Additional Information:

#### Operating system

#### fan-control version

#### Logs, Panic Messages, Stack Traces:
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
13 changes: 13 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
name: Feature Request
about: Request a feature
labels: enhancement
---

#### Use Case:

#### Proposed Change:

#### Who Benefits From The Change(s)?:

#### Alternative Approaches:
54 changes: 0 additions & 54 deletions .github/_ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/_ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:

paths-ignore:
- "**.md"
- "**.txt"
- "**.log"

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down
22 changes: 0 additions & 22 deletions .github/workflows/upload_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,28 +8,6 @@ env:
CARGO_TERM_COLOR: always

jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update
- uses: taiki-e/install-action@just
- uses: Swatinem/rust-cache@v2
- run: |
cargo install cargo-packager
- name: Build libsensors
run: just libsensors
- name: Package deb
run: just deb

- run: echo "DEB_NAME=$(basename ./packages/fan-control*.deb)" >> $GITHUB_ENV
- uses: actions/upload-artifact@v4
with:
name: ${{ env.DEB_NAME }}
path: |
./packages/${{ env.DEB_NAME }}
windows:
runs-on: windows-latest
steps:
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ rustc-ice*
# IDE
.idea/
.vscode/*
!.vscode/launch.json
!.vscode/settings.json
!.vscode/extensions.json

Expand All @@ -28,3 +27,8 @@ LibreHardwareMonitorWrapper.sln.DotSettings.user

# Lmsensors
build/

/.flatpak-builder
/vendor
/repo
/flatpak-out
102 changes: 0 additions & 102 deletions .vscode/launch.json

This file was deleted.

15 changes: 13 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"rust-analyzer.showUnlinkedFileNotification": false,
"rust-analyzer.cargo.features": "all"
}
"rust-analyzer.cargo.features": "all",
"rust-analyzer.server.extraEnv": {
"CARGO_TARGET_DIR": "target/analyzer"
},
"rust-analyzer.linkedProjects": [
"Cargo.toml",
],
"rust-analyzer.files.excludeDirs": [
".flatpak-builder",
"flatpak-out",
"packages"
]
}
2 changes: 1 addition & 1 deletion BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ git clone https://github.com/wiiznokes/fan-control.git
cd fan-control
sudo apt install make bison flex clang -y
just libsensors
cargo run --release # or just deb for building a deb package
cargo run --release
```

### Windows
Expand Down
Loading

0 comments on commit 4c4a072

Please sign in to comment.