Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GetAdocUI
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QCD
Tools
GetAdocUI
Commits
a17f2a1f
Commit
a17f2a1f
authored
Sep 09, 2024
by
AP matsuo koji
😲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cli 1
parent
6873e93e
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
297 additions
and
107 deletions
+297
-107
config.adoc
Release/getADoc.Data/adocTPL/config.adoc
+284
-102
template.adoc
Release/getADoc.Data/adocTPL/template.adoc
+2
-0
getADoc.bat
Release/getADoc.Data/getADoc.bat
+11
-5
No files found.
Release/getADoc.Data/adocTPL/config.adoc
View file @
a17f2a1f
This diff is collapsed.
Click to expand it.
Release/getADoc.Data/adocTPL/template.adoc
View file @
a17f2a1f
...
...
@@ -8,6 +8,8 @@ include::config.adoc[]
//:!sectnums:
//:imagesdir: Images
// hoge
//@ICON_CUSTOM@
{ExtendStyle}
...
...
Release/getADoc.Data/getADoc.bat
View file @
a17f2a1f
...
...
@@ -31,6 +31,7 @@ include("comfuncs.js");
// exit.push(function(){ if (isOk(stopWach)) echo("exit spend time=",stopWach.stop());});
// [get command-arguments] コマンド引数の取得
var pm = uParam()
// 任意;オプションキーパラメータ群を指定する(なければ行コメントアウト)
// .set("inFile").opt("/I").next("*") .init("") .desc("input file")
...
...
@@ -49,11 +50,13 @@ var pm = uParam()
// [Main process] 処理を記述
var InstRegURL = "HKCU\\Software\\Dainippon Screen Mfg.Co.,Ltd.\\ToolJsFuncScript\\1.0";
var InstPath = readParam.reg(InstRegURL).get("InstallPath");
if ( isNone(InstPath) ){
echo(-1,"警告::インストール先が見つかりません:",InstRegURL);
InstPath = getEnv().exeDir;
}
InstPath = getEnv().exeDir; // レジストリ参照をやめます。exeの場所のみ。
// var InstPath = readParam.reg(InstRegURL).get("InstallPath");
// if ( isNone(InstPath) ){
// echo(-1,"警告::インストール先が見つかりません:",InstRegURL);
// InstPath = getEnv().exeDir;
// }
/////////////////////////////////////////////////////////////
var adocTPL = uHereDoc.hereDoc(function(){/*
...
...
@@ -142,6 +145,9 @@ if ( pm.bOneDoc ) {
}else{
if ((!pm.bForce)&&(!copySure(tgtconfigPath)))
exit(-1);
echo("configPath=",configPath.FP());
echo("tgtconfigPath=",tgtconfigPath.FP());
copyFile(configPath,tgtconfigPath);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment