Skip to content

Commit

Permalink
#6対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Massas committed Sep 25, 2022
1 parent 1f24fe7 commit 61596ce
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions randomMapQuery.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@

#$apikey="**********************"

# result continent name this time
$result_continent_name = $null
# array that result continent name(five times)
Expand All @@ -10,6 +7,11 @@ $tmp_continent_arr = @()
# default Place Type
$placetype = "political"

function Get-APIKey {
[String]$apikey = Get-Content .\apikey
return $apikey
}

function getSign{
$signseed = Get-Random
$num = $signseed % 2
Expand Down Expand Up @@ -330,6 +332,8 @@ $Global:continent_setting = "none"
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing

$apikey = Get-APIKey

$Global:result_str_arr -replace '"', '' | Add-Content "./result.log" -Encoding Default

while ($true) {
Expand Down

0 comments on commit 61596ce

Please sign in to comment.