Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
93709f18
Commit
93709f18
authored
Nov 18, 2013
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build対応
parent
f778abf3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
11 deletions
+19
-11
env.sh
+15
-9
packer/obfuscate.sh
+4
-2
No files found.
env.sh
View file @
93709f18
...
...
@@ -22,15 +22,21 @@ modify_api()
URI_PREFIX
=
$1
cat
>
abvw/common/json/sys/conf.json
<<
EOF
{
"apiUrl" : "
$URI_PREFIX
/{0}/abvapi",
"apiLoginUrl" : "
$URI_PREFIX
/nuabvapi",
"apiResourceDlUrl" : "
$URI_PREFIX
/{0}/dl",
"bookShelfCount": 15,
"bookListCount" : 15,
"debug" : true,
"loginPage" : "index.html",
"appName" : "ABookWebCL",
"appVersion" : "0.0.1"
"apiUrl" : "
$URI_PREFIX
/{0}/abvapi",
"apiLoginUrl" : "
$URI_PREFIX
/nuabvapi",
"apiResourceDlUrl" : "
$URI_PREFIX
/{0}/dl",
"bookShelfCount" : 15,
"bookListCount" : 15,
"screenlockTimeDefault" : 30,
"pushPageCount" : 5,
"pushTimePeriod" : 60,
"debug" : true,
"loginPage" : "index.html",
"anonymousLoginFlg" : false,
"anonymousLoginPath" : "test",
"anonymousLoginId" : "nologin",
"appName" : "ABookWebCL",
"appVersion" : "0.0.1"
}
EOF
}
...
...
packer/obfuscate.sh
View file @
93709f18
...
...
@@ -2,10 +2,12 @@
DIR
=
`
dirname
$0
`
/..
# abvw/js/*
TARGET1
=
'bookmark.js contentsearch.js contentview.js contentview_Gomu.js contentview_Maker.js contentview_Marking.js contentview_Memo.js contentview_Paint.js contentview_Pen.js contentview_PopupText.js detail.js header.js history.js home.js login.js settings.js'
#TARGET1='bookmark.js contentsearch.js contentview.js contentview_Gomu.js contentview_Maker.js contentview_Marking.js contentview_Memo.js contentview_Paint.js contentview_Pen.js contentview_PopupText.js detail.js header.js history.js home.js login.js settings.js'
TARGET1
=
'Limit_Access_Content.js bookmark.js contentsearch.js contentview.js contentview_3d.js contentview_Anket.js contentview_CallApi.js contentview_ContentTypeNone.js contentview_CreateObjects.js contentview_Events.js contentview_General.js contentview_GetData.js contentview_Gomu.js contentview_ImagePreview.js contentview_InitObjects.js contentview_Maker.js contentview_Marking.js contentview_Memo.js contentview_Paint.js contentview_Pen.js contentview_PopupText.js detail.js header.js history.js home.js login.js settings.js'
# abvw/common/js
TARGET2
=
'avweb.js common.js i18n.js screenLock.js slideshow.js textObject.js zoomDetector.js'
#TARGET2='avweb.js common.js i18n.js screenLock.js slideshow.js textObject.js zoomDetector.js'
TARGET2
=
'avweb.js common.js i18n.js screenLock.js script.js slideshow.js tab.js textObject.js zoomDetector.js'
OBFUSCATE_EXECUTABLE
=
"
$DIR
/packer/jsPacker.pl -e10"
...
...
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