An open-source cross-platform alternative to AirDrop
syntax fix
Justin Bailey8837033742ca
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex a04e9edf..5ea19da6 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -2,9 +2,9 @@ name: CIon:push:- branches: [ main ]+ branches: [main]pull_request:- branches: [ main ]+ branches: [main]jobs:test:@@ -14,8 +14,8 @@ jobs:- uses: actions/checkout@v3- uses: subosito/flutter-action@v2with:- flutter-version: '3.3.10'- channel: 'stable'+ flutter-version: "3.3.10"+ channel: "stable"- name: Dependenciesrun: flutter pub get- name: Build generated filesdiff --git a/.trunk/.gitignore b/.trunk/.gitignorenew file mode 100644index 00000000..cf2f2547--- /dev/null+++ b/.trunk/.gitignore@@ -0,0 +1,7 @@+*out+*logs+*actions+*notifications+plugins+user_trunk.yaml+user.yamldiff --git a/.trunk/configs/.markdownlint.yaml b/.trunk/configs/.markdownlint.yamlnew file mode 100644index 00000000..fb940393--- /dev/null+++ b/.trunk/configs/.markdownlint.yaml@@ -0,0 +1,10 @@+# Autoformatter friendly markdownlint config (all formatting rules disabled)+default: true+blank_lines: false+bullet: false+html: false+indentation: false+line_length: false+spaces: false+url: false+whitespace: falsediff --git a/.trunk/configs/.shellcheckrc b/.trunk/configs/.shellcheckrcnew file mode 100644index 00000000..8c7b1ada--- /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=SC1091diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yamlnew file mode 100644index 00000000..378ef4d7--- /dev/null+++ b/.trunk/trunk.yaml@@ -0,0 +1,31 @@+version: 0.1+cli:+ version: 1.4.1+plugins:+ sources:+ - id: trunk+ ref: v0.0.10+ uri: https://github.com/trunk-io/plugins+lint:+ enabled:+ - git-diff-check+runtimes:+ enabled:+actions:+ disabled:+ - trunk-announce+ - trunk-check-pre-push+ - trunk-fmt-pre-commit+ enabled:+ - trunk-upgrade-availablediff --git a/README.md b/README.mdindex 20951a72..cdfa0cb3 100644--- a/README.md+++ b/README.md@@ -25,7 +25,7 @@ No internet required, no external servers needed.## Protocol-Devices communicate with each other using a REST API.+Devices communicate with each other using a REST API.Everything is sent securely over HTTPS. The TLS/SSL certificate is generated on the fly on each device.@@ -33,7 +33,7 @@ For more information: [LocalSend Protocol v1](https://github.com/localsend/proto## Run-After you have installed [Flutter](https://flutter.dev), then you can start this app by typing the following commands:+After you have installed [Flutter](https://flutter.dev), then you can start this app by typing the following commands:```shellflutter pub get@@ -140,4 +140,4 @@ appimage-builder --recipe AppImageBuilder.yml**Snap**-Feel free to open a pull request. There is a `snap` branch to play with.+Feel free to open a pull request. There is a `snap` branch to play with.diff --git a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.mdindex 89c2725b..b5b843ad 100644--- a/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md+++ b/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md@@ -2,4 +2,4 @@You can customize the launch screen with your own desired assets by replacing the image files in this directory.-You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.\ No newline at end of file+You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.diff --git a/pubspec.yaml b/pubspec.yamlindex 454fe247..4ee8787b 100644--- a/pubspec.yaml+++ b/pubspec.yaml@@ -1,12 +1,12 @@name: localsend_appdescription: An open source cross-platform alternative to AirDrop-publish_to: 'none'+publish_to: "none"version: 1.7.0+26environment:- sdk: '>=2.18.5 <3.0.0'+ sdk: ">=2.18.5 <3.0.0"dependencies:basic_utils: 5.4.2diff --git a/scripts/compile_ios.sh b/scripts/compile_ios.shindex e59d2589..a89b04db 100644--- a/scripts/compile_ios.sh+++ b/scripts/compile_ios.sh@@ -6,5 +6,8 @@ fvm flutter cleanfvm flutter pub getfvm flutter pub run build_runner build -dfvm flutter precache --ios-(cd ios;pod update)+(+ cd ios+ pod update+)fvm flutter build ipadiff --git a/scripts/compile_linux_appimage.sh b/scripts/compile_linux_appimage.shindex 4f265326..83817428 100644--- a/scripts/compile_linux_appimage.sh+++ b/scripts/compile_linux_appimage.sh@@ -33,4 +33,4 @@ rm -rf AppDirrm -rf appimage-buildpopd-cd localsend\ No newline at end of file+cd localsend