Skip to content

Commit

Permalink
Merge pull request #20 from hsaito/blender_location_override
Browse files Browse the repository at this point in the history
Blenderインストール先の手動指定
resolve #8
  • Loading branch information
kazu0617 authored Sep 22, 2022
2 parents 6095f9f + 231ed42 commit eef9c41
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _convert.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\
for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\Software\\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName,DisplayVersion,InstallLocation | Where-Object {$_.DisplayName -eq \"Blender\"} | Sort -Property DisplayVersion | Select-Object -Last 1 ).InstallLocation"`) do set blender=%%A
set blender=%blender:"=%

if defined BLENDER_LOCATION_OVERRIDE (set blender=%BLENDER_LOCATION_OVERRIDE%)

for /f "usebackq delims=" %%A in (`curl --version`) do set curlresult=%%A
for /f "usebackq delims=" %%A in (`ver`) do set windowsversion=%%A

Expand Down
2 changes: 2 additions & 0 deletions _convert_manual.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\
for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\Software\\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName,DisplayVersion,InstallLocation | Where-Object {$_.DisplayName -eq \"Blender\"} | Sort -Property DisplayVersion | Select-Object -Last 1 ).InstallLocation"`) do set blender=%%A
set blender=%blender:"=%

if defined BLENDER_LOCATION_OVERRIDE (set blender=%BLENDER_LOCATION_OVERRIDE%)

for /f "usebackq delims=" %%A in (`curl --version`) do set curlresult=%%A
for /f "usebackq delims=" %%A in (`ver`) do set windowsversion=%%A

Expand Down
2 changes: 2 additions & 0 deletions _license-check.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\
for /f "usebackq delims=" %%A in (`powershell -command "(Get-ItemProperty HKLM:\Software\\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName,DisplayVersion,InstallLocation | Where-Object {$_.DisplayName -eq \"Blender\"} | Sort -Property DisplayVersion | Select-Object -Last 1 ).InstallLocation"`) do set blender=%%A
set blender=%blender:"=%

if defined BLENDER_LOCATION_OVERRIDE (set blender=%BLENDER_LOCATION_OVERRIDE%)

timeout 3

echo "VRMアドオンの最新版を取得中…"
Expand Down

0 comments on commit eef9c41

Please sign in to comment.