Skip to content

Commit

Permalink
Rename scripts -> examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Mar 29, 2024
1 parent 649a8db commit 4a2b77d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: shards install --without-development --release
- name: Build executable
run: crystal build scripts/deepl-dialog.cr --release
run: crystal build examples/deepl-dialog.cr --release
- uses: actions/upload-artifact@v3
with:
name: deepl-dialog
Expand Down
3 changes: 1 addition & 2 deletions scripts/deepl-dialog.cr → examples/deepl-dialog.cr
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
require "../src/deepl/translator"

cmd = <<-CMD
powershell.exe -command
powershell -Command
Add-Type -AssemblyName System.Windows.Forms
$openFileDialog = New-Object System.Windows.Forms.OpenFileDialog
$openFileDialog.initialDirectory = $InitialDirectory
$openFileDialog.filter = "All files (*.*)| *.*"
$openFileDialog.ShowDialog() > $null
Write-Host $openFileDialog.Filename
Expand Down

0 comments on commit 4a2b77d

Please sign in to comment.