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
f1fc36c7
Commit
f1fc36c7
authored
Jan 17, 2025
by
Kidong Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update obfuscate.sh
parent
057362ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
1 deletions
+64
-1
packer/obfuscate.sh
+64
-1
No files found.
packer/obfuscate.sh
View file @
f1fc36c7
#!/bin/sh
DIR
=
`
dirname
$0
`
/..
#
#DIR=`dirname $0`/..
DIR
=
"
$(
dirname
$(
realpath
$0
))
/.."
TARGET0
=
""
TARGET1
=
""
TARGET2
=
""
# ABookCheck WEB viewer
# check_web
TARGET11
=
""
TARGET12
=
""
# check_webpreview
TARGET21
=
""
TARGET22
=
""
if
[
$#
-eq
1
]
;
then
TARGET0
=
$1
...
...
@@ -14,6 +26,12 @@ fi
# abvw/js/*
if
[
"
$TARGET0
"
=
"abvw"
]
;
then
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 share.js stview.js contentview_Streaming.js contentview_Getits.js'
elif
[
"
$TARGET0
"
=
"check_web"
]
;
then
# ABookCheck web/abweb/js/*/*.js
TARGET11
=
'pushMessageDetail/pushMessageDetail.js reportForm/reportForm.js dashboard/dashboard.js sendMessage/sendMessage.js pickup/pickup.js agreementToTerms/agreementToTerms.js topPage/topPage.js operationSelect/operationSelect.js notificationContent/notificationContent.js operationList/operationList.js setting/settings.js pdfPrint/pdfPrint.js dashboardSetting/dashboardSetting.js reportList/reportList.js login/login.js pushMessageList/pushMessageList.js template/template.js fileSelect/fileSelect.js '
elif
[
"
$TARGET0
"
=
"check_webpreview"
]
;
then
# ABookCheck webpreview/abvw/js/*.js
TARGET21
=
'contentview_Paint.js contentview_ContentTypeNone.js contentview_Marking.js contentview_Pen.js contentview_Getits.js stview.js history.js contentview_ImagePreview.js contentpreview.js contentview_General.js contentview_Streaming.js Limit_Access_Content.js share.js contentview_Gomu.js contentview_InitObjects.js contentview_Quiz.js login.js contentview_3d.js detail.js contentview_Anket.js contentview_CallApi.js contentview.js contentview_PopupText.js home.js contentview_OpenUri.js contentview_Exam.js contentview_GetData.js contentview_Events.js contentview_CreateObjects.js header.js bookmark.js contentview_Maker.js contentview_Memo.js settings.js contentsearch.js '
else
TARGET1
=
'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_ImagePreview.js contentview_InitObjects.js contentview_PopupText.js contentview_initDefautValue.js'
fi
...
...
@@ -21,6 +39,12 @@ fi
# abvw/common/js
if
[
"
$TARGET0
"
=
"abvw"
]
;
then
TARGET2
=
'avweb.js common.js i18n.js screenLock.js script.js tab.js textObject.js zoomDetector.js'
elif
[
"
$TARGET0
"
=
"check_web"
]
;
then
# ABookCheck web/abweb/common/js/*.js
TARGET12
=
'validation.js event.js common.js i18n.js header.js constant.js jquery/jquery.toastmessage.js '
elif
[
"
$TARGET0
"
=
"check_webpreview"
]
;
then
# ABookCheck webpreview/abvw/common/js/*.js
TARGET22
=
'jquery.powertip.js html2canvas.js zoomDetector.js scrolltopcontrol.js script.js tab.js jquery.cookie.js htmlparser.js jquery.treeview.js screenLock.js common.js i18n.js jquery.toastmessage.js thickbox.js uuid.js function.js avweb.js gotop.js textObject.js jquery.treeview.edit.js '
else
TARGET2
=
'avweb.js common.js i18n.js script.js textObject.js zoomDetector.js'
fi
...
...
@@ -40,3 +64,41 @@ do
TARGET
=
$DIR
/ob/abvw/common/js/
$f
$OBFUSCATE_EXECUTABLE
-i
$ORG
-o
$TARGET
done
###
# ABookCheck web
#
for
f
in
${
TARGET11
}
do
ORG
=
$DIR
/abweb/js/
$f
TARGET
=
$DIR
/ob/abweb/js/
$f
$OBFUSCATE_EXECUTABLE
-i
$ORG
-o
$TARGET
done
for
f
in
${
TARGET12
}
do
ORG
=
$DIR
/abweb/common/js/
$f
TARGET
=
$DIR
/ob/abweb/common/js/
$f
$OBFUSCATE_EXECUTABLE
-i
$ORG
-o
$TARGET
done
###
# ABookCheck webpreview
#
for
f
in
${
TARGET21
}
do
ORG
=
$DIR
/abvw/js/
$f
TARGET
=
$DIR
/ob/abvw/js/
$f
$OBFUSCATE_EXECUTABLE
-i
$ORG
-o
$TARGET
done
for
f
in
${
TARGET22
}
do
ORG
=
$DIR
/abvw/common/js/
$f
TARGET
=
$DIR
/ob/abvw/common/js/
$f
$OBFUSCATE_EXECUTABLE
-i
$ORG
-o
$TARGET
done
# EOF
\ No newline at end of file
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