forked from sakura-editor/sakura
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request sakura-editor#161 from sakura-editor/master
[x64対応] master の修正を x64 ブランチにマージする
- Loading branch information
Showing
18 changed files
with
352 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.bat text eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
set HHC=C:\Program Files (x86)\HTML Help Workshop\hhc.exe | ||
|
||
@rem hhc.exe returns 1 on success, and returns 0 on failure | ||
"%HHC%" help\macro\macro.HHP | ||
if %errorlevel% equ 0 (echo error && exit /b 1) | ||
|
||
"%HHC%" help\plugin\plugin.hhp | ||
if %errorlevel% equ 0 (echo error && exit /b 1) | ||
|
||
"%HHC%" help\sakura\sakura.hhp | ||
if %errorlevel% equ 0 (echo error && exit /b 1) | ||
|
||
exit /b 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
set platform=%1 | ||
set configuration=%2 | ||
set INSTALLER_RESOURCES=installer\temp | ||
set INSTALLER_WORK=installer\sakura | ||
set INSTALLER_OUTPUT=installer\Output | ||
|
||
set INSTALLER_RESOURCES_SINT=installer\temp\sint | ||
set INSTALLER_RESOURCES_BRON=installer\temp\bron | ||
|
||
if exist "%INSTALLER_RESOURCES%" rmdir /s /q "%INSTALLER_RESOURCES%" | ||
if exist "%INSTALLER_WORK%" rmdir /s /q "%INSTALLER_WORK%" | ||
if exist "%INSTALLER_OUTPUT%" rmdir /s /q "%INSTALLER_OUTPUT%" | ||
|
||
if exist "%INSTALLER_RESOURCES_SINT%" rmdir /s /q "%INSTALLER_RESOURCES_SINT%" | ||
if exist "%INSTALLER_RESOURCES_BRON%" rmdir /s /q "%INSTALLER_RESOURCES_BRON%" | ||
|
||
7z x installer\sinst_src.zip -O"%INSTALLER_RESOURCES_SINT%" || (echo error && exit /b 1) | ||
7z x installer\externals\bregonig\bron412.zip -O"%INSTALLER_RESOURCES_BRON%" || (echo error && exit /b 1) | ||
|
||
mkdir %INSTALLER_WORK% | ||
mkdir %INSTALLER_WORK%\keyword | ||
|
||
copy %INSTALLER_RESOURCES_SINT%\sakura.exe.manifest.x %INSTALLER_WORK%\ | ||
copy %INSTALLER_RESOURCES_SINT%\sakura.exe.manifest.v %INSTALLER_WORK%\ | ||
copy %INSTALLER_RESOURCES_SINT%\sakura.exe.ini %INSTALLER_WORK%\ | ||
copy %INSTALLER_RESOURCES_SINT%\keyword\*.* %INSTALLER_WORK%\keyword\ | ||
|
||
if "%platform%" == "x64" ( | ||
copy %INSTALLER_RESOURCES_BRON%\x64\*.dll %INSTALLER_WORK%\ | ||
) else ( | ||
copy %INSTALLER_RESOURCES_BRON%\*.dll %INSTALLER_WORK%\ | ||
) | ||
copy %INSTALLER_RESOURCES_BRON%\*.txt %INSTALLER_WORK%\ | ||
|
||
copy help\sakura\sakura.chm %INSTALLER_WORK%\ | ||
copy help\plugin\plugin.chm %INSTALLER_WORK%\ | ||
copy help\macro\macro.chm %INSTALLER_WORK%\ | ||
|
||
copy %platform%\%configuration%\*.exe %INSTALLER_WORK%\ | ||
copy %platform%\%configuration%\*.dll %INSTALLER_WORK%\ | ||
|
||
"C:\Program Files (x86)\Inno Setup 5\ISCC.exe" installer\sakura.iss || (echo error && exit /b 1) | ||
|
||
if exist "%INSTALLER_RESOURCES%" rmdir /s /q "%INSTALLER_RESOURCES%" | ||
if exist "%INSTALLER_WORK%" rmdir /s /q "%INSTALLER_WORK%" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
set platform=%1 | ||
set configuration=%2 | ||
|
||
@rem https://www.appveyor.com/docs/environment-variables/ | ||
|
||
if "%APPVEYOR%"=="True" ( | ||
set EXTRA_CMD=/verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" | ||
) else ( | ||
set EXTRA_CMD= | ||
) | ||
|
||
set MSBUILD_EXE="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe" | ||
|
||
@echo %MSBUILD_EXE% %SLN_FILE% /p:Platform=%platform% /p:Configuration=%configuration% /t:"Clean","Rebuild" %EXTRA_CMD% | ||
%MSBUILD_EXE% %SLN_FILE% /p:Platform=%platform% /p:Configuration=%configuration% /t:"Clean","Rebuild" %EXTRA_CMD% | ||
if %errorlevel% neq 0 (echo error && exit /b 1) | ||
|
||
exit /b 0 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
正規表現ライブラリ bregonig.dll | ||
|
||
■ Website | ||
|
||
http://k-takata.o.oo7.jp/mysoft/bregonig.html | ||
|
||
|
||
■ バイナリ入手先 | ||
|
||
https://bitbucket.org/k_takata/bregonig/downloads/bron412.zip | ||
|
||
■ ソースコード | ||
|
||
http://github.com/k-takata/bregonig | ||
|
||
|
||
■ ライセンス | ||
|
||
http://k-takata.o.oo7.jp/mysoft/bregonig.html#SCT-9. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
外部の依存モジュールを入れるためのフォルダです。 | ||
|
||
このフォルダ以下に入れるモジュールに対して readme を書く際には | ||
GitHub での文字化けを防ぐため UTF-8 BOM 付きで保存してください。 | ||
|
||
Website アドレス、ライセンス、バイナリのアドレス、(オープンソースなら)ソースコード入手先を | ||
記載してください。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.