Skip to content

Commit

Permalink
Version 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LFriede committed Apr 12, 2020
1 parent 447c91f commit dfd013e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
Empty file added CHANGELOG.md
Empty file.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# x64dbg Updater

This x64dbg plugin checks GitHub for new x64dbg snapshots. It can download and extract the new snapshot to replace your current version.
This x64dbg plugin invokes the [x64dbg Plugin Manager](https://github.com/horsicq/x64dbg-Plugin-Manager) to check for x64dbg or plugin updates. You can configure the plugin to check for updates at x64dbg startup or you can click the "Search updates..." button in the menu. It's also possible to configure a pause between automatic update checks, so you can let the plugin check for example daily or weekly.
At the first start with this plugin installed you will be asked if you want to autocheck for updates on every launch. This setting can be changed later in the plugins menu of x64dbg. There is also a menu entry for manual update checking to be used if you don't want to autocheck.

You can launch the [x64dbg Plugin Manager](https://github.com/horsicq/x64dbg-Plugin-Manager) from the gui, update everything with one click or let it update when you close x64dbg.

There is also a widget that shows you the latest x64dbg commits from GitHub. The latest commit of your installed version is highlighted in orange, so you can see what's new.

![Screenshot](_res/screenshot.png?raw=true)


## Installation

Binary versions can be downloaded on the GitHub [release page](https://github.com/LFriede/x64dbg-updater/releases). The directory structure of the releases matches with the x64dbg snapshots, this makes installation easy, just unpack x64dbg and the updater in the same directory. Please **don't** relocate the `_updater.bat` script.
**Optional:** The following step is only required if you want to debug this plugin. `*.pdb` files can be downloaded in a seperate archive on the release page and should be unpacked in the same directory as the plugin file.
Since this plugin depends on the [x64dbg Plugin Manager](https://github.com/horsicq/x64dbg-Plugin-Manager), the easiest way to install it is to install the plugin manager and let it download the x64dbg_updater package.


## Build

Make sure you have Qt Creator (current version) with Qt 5.6.x and Visual Studio (2015 in my case, others should work) installed. Optional you can add syntax highlighting for the batch script in the settings dialog of Qt Creator.
To build the plugin every Qt Creator, Qt 5.x and Visual Studio version should work. I'm using VS2019 and Qt 5.9.9 for developing but released versions are built with VS2013 and Qt 5.6.3, same as x64dbg builds.

Make sure you build in release mode because .lib files of the plugin SDK are built in release mode (must match) and x64dbg is shipped with release binarys of Qt. The Qt project file is configured to generate debug symbols (pdb) in release mode too, place them in x64dbgs plugin folder if you want to debug the plugin.

If you have problems installing old Qt versions like 5.6.x you can trick the installer to use the old repositorys again as described here: [gist.github.com/LFriede/3d4cde1bfdb211db4896a0a8b890660b](https://gist.github.com/LFriede/3d4cde1bfdb211db4896a0a8b890660b)
Binary file modified _res/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions x64dbg_updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ PLUG_EXPORT void CBMENUENTRY(CBTYPE cbType, PLUG_CB_MENUENTRY* info)
switch(info->hEntry)
{
case MENU_ABOUT: {
QMessageBox msg(QMessageBox::Information, "About x64dbg Updater v0.2",
QMessageBox msg(QMessageBox::Information, "About x64dbg Updater v0.3",
"x64dbg Updater plugin written by:<br>gORDon_vdLg<br>"
"<br>"
"Website:<br>"
Expand Down Expand Up @@ -140,7 +140,7 @@ PLUG_EXPORT void plugsetup(PLUG_SETUPSTRUCT* setupStruct)
iconf.close();
}

_plugin_menuaddentry(hMenu, MENU_SETTINGS, "Settings");
_plugin_menuaddentry(hMenu, MENU_SETTINGS, "Settings...");
iconf.setFileName(":/icons/images/settings.png");
if (iconf.open(QIODevice::ReadOnly)) {
QByteArray arr = iconf.readAll();
Expand Down
1 change: 1 addition & 0 deletions x64dbg_updater.pro
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ FORMS += \
updateform.ui

DISTFILES += \
CHANGELOG.md \
_update.bat \
.gitignore \
README.md \
Expand Down

0 comments on commit dfd013e

Please sign in to comment.