Skip to content

Commit

Permalink
Fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
Dadoum committed Apr 3, 2024
1 parent 6d16a2e commit 7f58c33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 5 additions & 6 deletions frontends/gtk/source/ui/dependencieswindow.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import std.format;

import slf4d;

import adw.HeaderBar;
import adw.Window;

import glib.Timeout;

Expand All @@ -16,6 +14,7 @@ import gtk.Button;
import gtk.Label;
import gtk.ProgressBar;
import gtk.Stack;
import gtk.Window;
import gtk.WindowHandle;

import gdk.Cursor;
Expand All @@ -36,7 +35,7 @@ class DependenciesWindow: Window {

configPath = app.configurationPath;

WindowHandle wh = new WindowHandle(); {
// WindowHandle wh = new WindowHandle(); {
Box box = new Box(Orientation.VERTICAL, 4);
box.setMarginTop(16);
box.setMarginBottom(16);
Expand Down Expand Up @@ -101,8 +100,8 @@ class DependenciesWindow: Window {
}
box.append(stack);
}
wh.setChild(box);
}
this.setChild(wh);
// wh.setChild(box);
// }
this.setChild(box); // wh);
}
}
8 changes: 4 additions & 4 deletions source/sideload/sign.d
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Tuple!(PlistDict, PlistDict) sign(
});
subBundlesTask.executeInNewThread();

log.traceF!"Signing bundle %s..."(baseName(bundleFolder));
log.debugF!"Signing bundle %s..."(baseName(bundleFolder));

string executable = bundle.appInfo["CFBundleExecutable"].str().native();

Expand All @@ -162,7 +162,7 @@ Tuple!(PlistDict, PlistDict) sign(

file.write(bundleFolder.buildPath("Info.plist"), infoPlist);

// log.trace("Hashing files...");
log.debug_("Hashing files...");

auto bundleFiles = file.dirEntries(bundleFolder, file.SpanMode.breadth);
// double fileStepSize = stepSize / bundleFiles.length; TODO
Expand Down Expand Up @@ -236,7 +236,7 @@ Tuple!(PlistDict, PlistDict) sign(

subBundlesTask.yieldForce();

// log.trace("Making CodeResources...");
log.debug_("Making CodeResources...");
string codeResources = dict(
"files", files.copy(),
"files2", files2.copy(),
Expand All @@ -260,7 +260,7 @@ Tuple!(PlistDict, PlistDict) sign(
scope(exit) addProgress(machOStepSize);
auto path = fatMachOPair.path;
auto fatMachO = fatMachOPair.machO;
log.traceF!"Signing executable %s..."(path[bundleFolder.dirName.length + 1..$]);
log.debugF!"Signing executable %s..."(path[bundleFolder.dirName.length + 1..$]);

auto requirementsBlob = new RequirementsBlob();

Expand Down

0 comments on commit 7f58c33

Please sign in to comment.