Fix some path determination stuff

This commit is contained in:
idk
2022-02-03 02:06:39 -05:00
parent edb4ce1670
commit 1bac06a43b
4 changed files with 23 additions and 12 deletions

View File

@ -1,12 +1,18 @@
package main
import (
"log"
"github.com/go-ole/go-ole"
"github.com/go-ole/go-ole/oleutil"
"os/user"
"path/filepath"
)
func GenerateAppArmor() error {
return nil
}
func DesktopDirectory() (string, error) {
myself, error := user.Current()
if error != nil {