Skip to content

Commit

Permalink
tools bugfix qsdb-deploy example
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Aug 12, 2024
1 parent 1c0a478 commit 2bc20b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/qsdb-deploy.ps1.example
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ $Script:BuildPath = '<your_path_here>\TinyORM\TinyORM-builds-qmake\' +
'build-TinyORM-Desktop_Qt_6_7_2_MSVC2022_64bit-Release'

$Script:DestinationPath = '<your_path_here>\dotfiles\bin'
$Script:TinyDriversPath = "${Script:BuildPath}\src\release\TinyDrivers0.dll"
$Script:TinyMySqlPath = "${Script:BuildPath}\src\release\TinyMySql0.dll"
$Script:TinyDriversPath = "${Script:BuildPath}\drivers\common\release\TinyDrivers0.dll"
$Script:TinyMySqlPath = "${Script:BuildPath}\drivers\mysql\release\TinyMySql0.dll"

if (Test-Path $Script:TinyDriversPath) {
Copy-Item -Path $Script:TinyDriversPath -Destination $Script:DestinationPath
Expand All @@ -23,4 +23,4 @@ Copy-Item -Path `
"${Script:BuildPath}\examples\tom\release\tom.exe"`
-Destination $Script:DestinationPath

Write-Host 'TinyORM was deployed successfully. 🥳' -ForegroundColor DarkGreen
Write-Host 'TinyORM was deployed successfully. 🥳 (qmake)' -ForegroundColor DarkGreen

0 comments on commit 2bc20b6

Please sign in to comment.