diff --git a/.env_debug b/.env_debug index 135fe79..b88434f 100644 --- a/.env_debug +++ b/.env_debug @@ -1,4 +1,4 @@ -# RUN="sudo" -# PARAM="/usr/bin/pacman -Syu --needed --noconfirm" +# RUN="/usr/bin/pacman" +# PARAM="/usr/bin/pacman -Syu --needed --noconfirm --noprogressbar" RUN="find" PARAM=".git" diff --git a/.trunk/.gitignore b/.trunk/.gitignore new file mode 100644 index 0000000..15966d0 --- /dev/null +++ b/.trunk/.gitignore @@ -0,0 +1,9 @@ +*out +*logs +*actions +*notifications +*tools +plugins +user_trunk.yaml +user.yaml +tmp diff --git a/.trunk/configs/.markdownlint.yaml b/.trunk/configs/.markdownlint.yaml new file mode 100644 index 0000000..b40ee9d --- /dev/null +++ b/.trunk/configs/.markdownlint.yaml @@ -0,0 +1,2 @@ +# Prettier friendly markdownlint config (all formatting rules disabled) +extends: markdownlint/style/prettier diff --git a/.trunk/configs/.rustfmt.toml b/.trunk/configs/.rustfmt.toml new file mode 100644 index 0000000..3a26366 --- /dev/null +++ b/.trunk/configs/.rustfmt.toml @@ -0,0 +1 @@ +edition = "2021" diff --git a/.trunk/configs/.shellcheckrc b/.trunk/configs/.shellcheckrc new file mode 100644 index 0000000..8c7b1ad --- /dev/null +++ b/.trunk/configs/.shellcheckrc @@ -0,0 +1,7 @@ +enable=all +source-path=SCRIPTDIR +disable=SC2154 + +# If you're having issues with shellcheck following source, disable the errors via: +# disable=SC1090 +# disable=SC1091 diff --git a/.trunk/configs/svgo.config.js b/.trunk/configs/svgo.config.js new file mode 100644 index 0000000..b257d13 --- /dev/null +++ b/.trunk/configs/svgo.config.js @@ -0,0 +1,14 @@ +module.exports = { + plugins: [ + { + name: "preset-default", + params: { + overrides: { + removeViewBox: false, // https://github.com/svg/svgo/issues/1128 + sortAttrs: true, + removeOffCanvasPaths: true, + }, + }, + }, + ], +}; diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml new file mode 100644 index 0000000..7d5f2d7 --- /dev/null +++ b/.trunk/trunk.yaml @@ -0,0 +1,39 @@ +# This file controls the behavior of Trunk: https://docs.trunk.io/cli +# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml +version: 0.1 +cli: + version: 1.22.0 +# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) +plugins: + sources: + - id: trunk + ref: v1.5.0 + uri: https://github.com/trunk-io/plugins +# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) +runtimes: + enabled: + - go@1.21.0 + - node@18.12.1 + - python@3.10.8 +# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) +lint: + enabled: + - clippy@1.65.0 + - dotenv-linter@3.3.0 + - git-diff-check + - markdownlint@0.41.0 + - oxipng@9.1.1 + - prettier@3.3.2 + - rustfmt@1.65.0 + - shellcheck@0.10.0 + - shfmt@3.6.0 + - svgo@3.3.2 + - taplo@0.8.1 + - trufflehog@3.79.0 +actions: + disabled: + - trunk-announce + - trunk-check-pre-push + - trunk-fmt-pre-commit + enabled: + - trunk-upgrade-available diff --git a/Cargo.toml b/Cargo.toml index 426cdf1..b6fd3d0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,6 @@ edition = "2021" futures = "^0.3" fltk = { version = "^1.4", features = ["fltk-bundled"] } fltk-theme = "^0.7" -tokio = { version = "^1.33", features = ["full"] } +tokio = { version = "^1.38", features = ["full"] } # bytes = "^1.4" dotenv = "^0.15" diff --git a/README.md b/README.md index 765c998..e5b53cd 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,4 @@ Arch linux updater for Melawy Linux [YooMoney](https://yoomoney.ru/to/4100115921160758) -[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) - Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f