Skip to content

Commit

Permalink
Fixed app builder[548665]
Browse files Browse the repository at this point in the history
  • Loading branch information
Greedysky committed Jun 30, 2019
1 parent b877df1 commit 5f2ee4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 81 deletions.
6 changes: 3 additions & 3 deletions TTKScript/ttk.iss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define OutputPath "D:\Qt"
#define SourceMain "D:\Qt\TTKMusicPlayer\TTKMusicPlayer.exe"
#define SourceFolder "D:\Qt\TTKMusicPlayer\*"
#define SetupIconFilePath "resource\lb_app_logo.ico"
#define SetupIconFilePath "resource\lb_player_logo.ico"
#define ResourcesPath "resource\*"

[setup]
Expand Down Expand Up @@ -380,7 +380,7 @@ procedure InitializeWizard();
ExtractTemporaryFile('btn_custom.png');
ExtractTemporaryFile('label_shellLink.png');
ExtractTemporaryFile('label_taskbarpin.png');
ExtractTemporaryFile('lb_app_logo.ico');
ExtractTemporaryFile('lb_player_logo.ico');
// 关闭按钮样式
CancelBtn:=BtnCreate(WizardForm.Handle,627,8,12,12,ExpandConstant('{tmp}\btn_close.png'),1,False)
Expand Down Expand Up @@ -525,7 +525,7 @@ procedure CurPageChanged(CurPageID: Integer);
DeleteFile('{commondesktop}\{#MyAppNameZh}.lnk');
end
CreateShellLink(ExpandConstant('{commondesktop}\{#MyAppNameZh}.lnk'),
'快捷方式',ExpandConstant('{app}\{#MyAppExeName}'),ExpandConstant(''),ExpandConstant('{app}'),ExpandConstant('{tmp}\lb_app_logo.ico'),0,SW_SHOWNORMAL);
'快捷方式',ExpandConstant('{app}\{#MyAppExeName}'),ExpandConstant(''),ExpandConstant('{app}'),ExpandConstant('{tmp}\lb_player_logo.ico'),0,SW_SHOWNORMAL);
end
// 固定到任务栏
Expand Down
78 changes: 0 additions & 78 deletions TTKThirdParty/TTKExtras/qrencode/qrencode.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,84 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

/** \mainpage
* Libqrencode is a library for encoding data in a QR Code symbol, a kind of 2D
* symbology.
*
* \section encoding Encoding
*
* There are two methods to encode data: <b>encoding a string/data</b> or
* <b>encoding a structured data</b>.
*
* \subsection encoding-string Encoding a string/data
* You can encode a string by calling QRcode_encodeString().
* The given string is parsed automatically and encoded. If you want to encode
* data that can be represented as a C string style (NUL terminated), you can
* simply use this way.
*
* If the input data contains Kanji (Shift-JIS) characters and you want to
* encode them as Kanji in QR Code, you should give QR_MODE_KANJI as a hint.
* Otherwise, all of non-alphanumeric characters are encoded as 8 bit data.
* If you want to encode a whole string in 8 bit mode, you can use
* QRcode_encodeString8bit() instead.
*
* Please note that a C string can not contain NUL characters. If your data
* contains NUL, you must use QRcode_encodeData().
*
* \subsection encoding-input Encoding a structured data
* You can construct a structured input data manually. If the structure of the
* input data is known, you can use this way.
* At first, create a ::QRinput object by QRinput_new(). Then add input data
* to the QRinput object by QRinput_append(). Finally call QRcode_encodeInput()
* to encode the QRinput data.
* You can reuse the QRinput data again to encode it in other symbols with
* different parameters.
*
* \section result Result
* The encoded symbol is resulted as a ::QRcode object. It will contain
* its version number, width of the symbol and an array represents the symbol.
* See ::QRcode for the details. You can free the object by QRcode_free().
*
* Please note that the version of the result may be larger than specified.
* In such cases, the input data would be too large to be encoded in a
* symbol of the specified version.
*
* \section structured Structured append
* Libqrencode can generate "Structured-appended" symbols that enables to split
* a large data set into mulitple QR codes. A QR code reader concatenates
* multiple QR code symbols into a string.
* Just like QRcode_encodeString(), you can use QRcode_encodeStringStructured()
* to generate structured-appended symbols. This functions returns an instance
* of ::QRcode_List. The returned list is a singly-linked list of QRcode: you
* can retrieve each QR code in this way:
*
* \code
* QRcode_List *qrcodes;
* QRcode_List *entry;
* QRcode *qrcode;
*
* qrcodes = QRcode_encodeStringStructured(...);
* entry = qrcodes;
* while(entry != NULL) {
* qrcode = entry->code;
* // do something
* entry = entry->next;
* }
* QRcode_List_free(entry);
* \endcode
*
* Instead of using auto-parsing functions, you can construct your own
* structured input. At first, instantiate an object of ::QRinput_Struct
* by calling QRinput_Struct_new(). This object can hold multiple ::QRinput,
* and one QR code is generated for a ::QRinput.
* QRinput_Struct_appendInput() appends a ::QRinput to a ::QRinput_Struct
* object. In order to generate structured-appended symbols, it is required to
* embed headers to each symbol. You can use
* QRinput_Struct_insertStructuredAppendHeaders() to insert appropriate
* headers to each symbol. You should call this function just once before
* encoding symbols.
*/

#ifndef __QRENCODE_H__
#define __QRENCODE_H__

Expand Down

0 comments on commit 5f2ee4f

Please sign in to comment.