Skip to content

Commit

Permalink
ability to create links that run as administrator. this functionality…
Browse files Browse the repository at this point in the history
… is now "complete"
  • Loading branch information
Nicholas O'Connor committed Jan 2, 2016
1 parent fb00724 commit 07a179e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tilandis/linkmgmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ bool Tilandis::Links::CreateLink() {
}
newlink.AddMember(name, value, Tilandis::Links::LinkDocument->GetAllocator());

// Run as administrator?
name.SetString(L"asadmin");
value.SetBool(Tilandis::LinkInAdminMode);
newlink.AddMember(name, value, Tilandis::Links::LinkDocument->GetAllocator());

Tilandis::Links::SaveLinkDocument();
return true;
}
Expand Down

0 comments on commit 07a179e

Please sign in to comment.