diff --git a/ui (gen4)/Makefile b/ui (gen4)/Makefile index d9789975..b0e5905f 100755 --- a/ui (gen4)/Makefile +++ b/ui (gen4)/Makefile @@ -191,6 +191,16 @@ win64-dist: win64 $(DIST_DIR) zip -r $(WIN_DIST_ZIP) $(WIN_BUILD_DIR) +win64-ext: + ./targets/nwjs-shell-builder/nwjs-build.sh \ + --src=./ \ + --output-dir=./build/ \ + --name=ImageGrid.Viewer \ + --target="3" \ + --version="1.0.0" \ + --nw=0.14.3 \ + --build + # nwjs mac # XXX BUG: rebuilding without cleaning will mess up folders... diff --git a/ui (gen4)/lib/widget/browse.js b/ui (gen4)/lib/widget/browse.js index 368826a8..1fedfe30 100755 --- a/ui (gen4)/lib/widget/browse.js +++ b/ui (gen4)/lib/widget/browse.js @@ -2153,7 +2153,11 @@ var BrowserPrototype = { //this.update(options.path || this.path || '/') // XXX is this the right way to go??? setTimeout(function(){ - that.update(options.path || that.path || '/') }, 0) + that.update(options.path || that.path || '/') + + // in case we have a manually selected item but not aligned... + that.selected && that.select() + }, 0) }, }