Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
fix: dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
shing-yu committed Aug 8, 2024
1 parent 54baea8 commit f07c447
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 47 deletions.
33 changes: 33 additions & 0 deletions bass.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 创建所需的目录
$buildTmpDir = "build\tmp"
$buildDestDir = "build\windows\x64\runner\Release\BASS"

New-Item -Path $buildTmpDir -ItemType Directory -Force
New-Item -Path $buildDestDir -ItemType Directory -Force

# 定义要下载的文件及其URL
$files = @(
"https://www.un4seen.com/files/bass24.zip",
"https://www.un4seen.com/files/bassape24.zip",
"https://www.un4seen.com/files/bassdsd24.zip",
"https://www.un4seen.com/files/bassflac24.zip",
"https://www.un4seen.com/files/bassmidi24.zip",
"https://www.un4seen.com/files/bassopus24.zip",
"https://www.un4seen.com/files/basswv24.zip"
)

# 下载文件并解压
foreach ($fileUrl in $files) {
$fileName = Split-Path $fileUrl -Leaf
$filePath = Join-Path -Path $buildTmpDir -ChildPath $fileName

# 下载文件
Invoke-WebRequest -Uri $fileUrl -OutFile $filePath

# 解压文件
Expand-Archive -Path $filePath -DestinationPath $buildTmpDir -Force
}

# 移动 DLL 文件到目标目录
$sourcePath = Join-Path -Path $buildTmpDir -ChildPath "x64\*"
Move-Item -Path $sourcePath -Destination $buildDestDir -Force
46 changes: 19 additions & 27 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ packages:
description:
path: "."
ref: HEAD
resolved-ref: e87f9be4a6b5ed3fba57dcfd2b57732dd01621df
resolved-ref: dec4816b1ecd2cb1e67a5155efd029c3957d1fef
url: "https://github.com/Ferry-200/desktop_lyric.git"
source: git
version: "0.1.0"
Expand Down Expand Up @@ -126,18 +126,18 @@ packages:
dependency: "direct main"
description:
name: flex_color_picker
sha256: "31b27677d8d8400e4cff5edb3f189f606dd964d608779b6ae1b7ddad37ea48c6"
sha256: "809af4ec82ede3b140ed0219b97d548de99e47aa4b99b14a10f705a2dbbcba5e"
url: "https://pub.dev"
source: hosted
version: "3.5.0"
version: "3.5.1"
flex_seed_scheme:
dependency: transitive
description:
name: flex_seed_scheme
sha256: fb66cdb8ca89084e79efcad2bc2d9deb144666875116f08cdd8d9f8238c8b3ab
sha256: cc08c81879ecfd2ab840664ce4770980da0b8a319e35f51bcf763849b7f7596b
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "3.1.2"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -165,10 +165,10 @@ packages:
dependency: "direct main"
description:
name: flutter_markdown
sha256: ff76a9300a06ad1f2b394e54c0b4beaaf6a95f95c98540c918b870221499bb10
sha256: a23c41ee57573e62fc2190a1f36a0480c4d90bde3a8a8d7126e5d5992fb53fb7
url: "https://pub.dev"
source: hosted
version: "0.7.2"
version: "0.7.3+1"
flutter_rust_bridge:
dependency: "direct main"
description:
Expand Down Expand Up @@ -204,18 +204,18 @@ packages:
dependency: "direct main"
description:
name: go_router
sha256: cdae1b9c8bd7efadcef6112e81c903662ef2ce105cbd220a04bbb7c3425b5554
sha256: ddc16d34b0d74cb313986918c0f0885a7ba2fc24d8fb8419de75f0015144ccfe
url: "https://pub.dev"
source: hosted
version: "14.2.0"
version: "14.2.3"
http:
dependency: transitive
description:
name: http
sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010
url: "https://pub.dev"
source: hosted
version: "1.2.1"
version: "1.2.2"
http_parser:
dependency: transitive
description:
Expand Down Expand Up @@ -321,10 +321,10 @@ packages:
dependency: "direct main"
description:
name: material_symbols_icons
sha256: a2c78726048c755f0f90fd2b7c8799cd94338e2e9b7ab6498ae56503262c14bc
sha256: "43297fe7f7267b399ed6f2856ccd387775882445e9e695c427026070e3842b29"
url: "https://pub.dev"
source: hosted
version: "4.2762.0"
version: "4.2777.1"
meta:
dependency: "direct main"
description:
Expand Down Expand Up @@ -353,18 +353,18 @@ packages:
dependency: "direct main"
description:
name: path_provider
sha256: c9e7d3a4cd1410877472158bee69963a4579f78b68c65a2b7d40d1a7a88bb161
sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378
url: "https://pub.dev"
source: hosted
version: "2.1.3"
version: "2.1.4"
path_provider_android:
dependency: transitive
description:
name: path_provider_android
sha256: "9c96da072b421e98183f9ea7464898428e764bc0ce5567f27ec8693442e72514"
sha256: "490539678396d4c3c0b06efdaab75ae60675c3e0c66f72bc04c2e2c1e0e2abeb"
url: "https://pub.dev"
source: hosted
version: "2.2.5"
version: "2.2.9"
path_provider_foundation:
dependency: transitive
description:
Expand Down Expand Up @@ -393,10 +393,10 @@ packages:
dependency: transitive
description:
name: path_provider_windows
sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
sha256: bd6f00dbd873bfb70d0761682da2b3a2c2fccc2b9e84c495821639601d81afe7
url: "https://pub.dev"
source: hosted
version: "2.2.1"
version: "2.3.0"
petitparser:
dependency: transitive
description:
Expand Down Expand Up @@ -561,14 +561,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.3"
win32:
dependency: transitive
description:
name: win32
sha256: a79dbe579cb51ecd6d30b17e0cae4e0ea15e2c0e66f69ad4198f22a6789e94f4
url: "https://pub.dev"
source: hosted
version: "5.5.1"
window_manager:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
provider: ^6.1.1
rust_builder:
path: rust_builder
flutter_rust_bridge: ^2.0.0
flutter_rust_bridge: 2.0.0
path_provider: ^2.0.15
flutter_localizations:
sdk: flutter
Expand Down
38 changes: 19 additions & 19 deletions rust_builder/cargokit/build_tool/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: "3945034e86ea203af7a056d98e98e42a5518fff200d6e8e6647e1886b07e936e"
sha256: "576aaab8b1abdd452e0f656c3e73da9ead9d7880e15bdc494189d9c1a1baf0db"
url: "https://pub.dev"
source: hosted
version: "1.8.0"
version: "1.9.0"
crypto:
dependency: "direct main"
description:
Expand Down Expand Up @@ -349,10 +349,10 @@ packages:
dependency: transitive
description:
name: string_scanner
sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3"
url: "https://pub.dev"
source: hosted
version: "1.2.0"
version: "1.3.0"
term_glyph:
dependency: transitive
description:
Expand All @@ -365,26 +365,26 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: d11b55850c68c1f6c0cf00eabded4e66c4043feaf6c0d7ce4a36785137df6331
sha256: "713a8789d62f3233c46b4a90b174737b2c04cb6ae4500f2aa8b1be8f03f5e67f"
url: "https://pub.dev"
source: hosted
version: "1.25.5"
version: "1.25.8"
test_api:
dependency: transitive
description:
name: test_api
sha256: "2419f20b0c8677b2d67c8ac4d1ac7372d862dc6c460cdbb052b40155408cd794"
sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c"
url: "https://pub.dev"
source: hosted
version: "0.7.1"
version: "0.7.3"
test_core:
dependency: transitive
description:
name: test_core
sha256: "4d070a6bc36c1c4e89f20d353bfd71dc30cdf2bd0e14349090af360a029ab292"
sha256: "12391302411737c176b0b5d6491f466b0dd56d4763e347b6714efbaa74d7953d"
url: "https://pub.dev"
source: hosted
version: "0.6.2"
version: "0.6.5"
toml:
dependency: "direct main"
description:
Expand Down Expand Up @@ -413,10 +413,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: "7475cb4dd713d57b6f7464c0e13f06da0d535d8b2067e188962a59bac2cf280b"
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
url: "https://pub.dev"
source: hosted
version: "14.2.2"
version: "14.2.4"
watcher:
dependency: transitive
description:
Expand All @@ -429,26 +429,26 @@ packages:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062
url: "https://pub.dev"
source: hosted
version: "0.5.1"
version: "1.0.0"
web_socket:
dependency: transitive
description:
name: web_socket
sha256: "217f49b5213796cb508d6a942a5dc604ce1cb6a0a6b3d8cb3f0c314f0ecea712"
sha256: "3c12d96c0c9a4eec095246debcea7b86c0324f22df69893d538fcc6f1b8cce83"
url: "https://pub.dev"
source: hosted
version: "0.1.4"
version: "0.1.6"
web_socket_channel:
dependency: transitive
description:
name: web_socket_channel
sha256: a2d56211ee4d35d9b344d9d4ce60f362e4f5d1aafb988302906bd732bc731276
sha256: "9f187088ed104edd8662ca07af4b124465893caf063ba29758f97af57e61da8f"
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "3.0.1"
webkit_inspection_protocol:
dependency: transitive
description:
Expand All @@ -466,4 +466,4 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.3.0 <4.0.0"
dart: ">=3.4.0 <4.0.0"

0 comments on commit f07c447

Please sign in to comment.