Fix some path determination stuff
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user